There is a ticket for something similar #8896 (http://code.djangoproject.com/ticket/8896). Let urlresolvers also route according to hostname.
-- Gert Mobile: +32 498725202 Web: http://gert.selentic.net 2010/3/15 jens <google.gro...@jensdiemer.de>: > On Mar 15, 3:44 pm, Yuri Baburov <burc...@gmail.com> wrote: >> How do you like the following idea: >> startproject command puts a fixture for django.contrib.sites (and >> fixture for superuser probably) to the root folder or whatever, to be >> loaded with syncdb? > > IMHO it would be a great, if django can set the SITE_ID dynamic, based > on the current domain. > > There exist some old links related to this: > http://groups.google.com/group/django-developers/browse_thread/thread/d9f1088de7944de3 > http://code.djangoproject.com/ticket/4438 > http://www.djangosnippets.org/snippets/1099/ > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to django-develop...@googlegroups.com. > To unsubscribe from this group, send email to > django-developers+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.