@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 th
Thanks again. At this point I'm considering removing the Sites &
CurrentSiteManager from all of our apps entirely. Maybe I was overly-
optimistic about how Sites could be used; having to write a static
file just to get Sites/CurrentSiteManager working properly is
basically a deal-breaker.
--~--
Yes, we're using mod_wsgi But I'm not sure that approach saves us
much because I'd still need to write a WSGI file for every site.
(This might be because of my lack of mod_wsgi-fu, but wouldn't I also
need a VirtualHost directive for each site, pointing it to the
appropriate WSGI file?)
Kyle.
-
I needed a way to alter settings at runtime, based on the current
Site. The method I came up with appears to work, but certainly
doesn't feel elegant and (I'm sure) could use improvement. I'm going
to share my reasoning behind dynamic settings in the hopes that it
sparks some discussion about ho
Looks cool...
views.py (line 26): mimetype = MIMETYPE.get(format, 'text/plain')
Should that be _MIMETYPE? Earlier you declare a _MIMETYPE dictionary,
but I don't see MIMETYPE anywhere.
--~--~-~--~~~---~--~~
You received this message because you are subscribed t