I am using django's sites framework with dajngo 1.7. I am calling the site name through a context processor like below. The problem is that every time the page loads, it switches between site1 and site2:
In my template I simply refer to the site name to do some logic and it switches back and forth between 2 of my sites on every request:
My httpd.conf looks like this:
Is this a bug? How can I stop swapping and make each site completely sandboxed? |
--
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...@googlegroups.com.
To post to this group, send email to django...@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/70ef019a-09a0-408c-9118-12f94fb2d157%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f4bf2db4-2b92-430a-a873-21b02a0d23c7%40googlegroups.com.