Hey, I'm aware of what your saying but I'd I like to reconfigure in a way similar to django-subdomains<http://django-subdomains.readthedocs.org/en/latest/> only instead of specifying the sub domain I'll specify the domain.. Is there a good hack you can think of that can help me in this case?
On Wednesday, March 12, 2014 2:43:28 PM UTC+2, Shawn Milochik wrote: > > URLs will be processed in the order they appear in your urls.py file. > > If one of your first entries in urls.py is an "include" that handles all > URLs that start with "/a/", then all those requests will be handled by the > URL patterns in the included URLs.py. > > Then, all URLs that don't get "caught" by that pattern will be checked > against the rest of the patterns in your urls.py until it finds a match. > > According to the docs[1], urls.py has no access to the domain in question, > so this is a bit of a workaround. > > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8ef8695c-45b8-476d-b1de-edc59a34eb75%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.