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 for the admin panel and for the API back-end, or something similar.

This is a companion discussion topic for the original entry at