Multiple domains and multi-user directory in the same Django application

I am trying to support a rather complex architecture with mixed multiple domains and multiple directories in the same django application. Basically, we will have the following URLs:

http://www.firstdomains.com/(DJANGO_APP)
http://www.firstdomains.com/de/(DJANGO_APP)
http://www.other.com/esp/best/(DJANGO_APP)
http://www.complex.com/it/(DJANGO_APP)
http://www.last.com/(DJANGO_APP)
.... (lot more)

The theme website and language will be defined in the "combo" domain / directory. What do you think is the best way to implement this?

+3
source share
1 answer

You're lucky! Carl Meyer recently released the perfect app for you: django-hosts

- URL , , URL i18n/l10n, http://pypi.python.org/pypi/transurlvania

+4

All Articles