How To Use Dynamic Subdomains In Django

If you use a single Django app for admin panel — API back-end, user facing front-end, etc. — you probably use URL schemes like example.com/admin for the admin panel and example.com/api for the API back-end, or something similar.


This is a companion discussion topic for the original entry at https://blog.crowdbotics.com/how-to-use-dynamic-subdomains-in-django/