@Dj Gilcrease: We had some issues altering settings only with
middleware -- basically what happened was when apache got hammered,
the settings object would get totally mangled with incorrect data.
I'm not an apache expert but we suspect it was because multiple
threads were modifying settings at the same time.


@Robert: Right, I understand that if we ditch the Sites app we can do
it however we want.  The problem is that we already have a lot of
reusable apps using Sites, and the views use MyModel.on_site to
retrieve objects.  So we would basically have to re-write all of our
views...

It would be really cool if you could just set the current Site:
Site.objects.set_current(site).  That way CurrentSiteManager and
Site.objects.get_current() would only do a lookup on settings.SITE_ID
if _site had not been set.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to