#4438: Proposed additon to django.contrib.sites: middleware.SetSiteFromHost
------------------------------------------------+---------------------------
Reporter: Max Battcher <[EMAIL PROTECTED]> | Owner: adrian
Status: new | Component:
Contrib apps
Version: SVN | Resolution:
Keywords: | Stage: Design
decision needed
Has_patch: 1 | Needs_docs: 1
Needs_tests: 1 | Needs_better_patch: 0
------------------------------------------------+---------------------------
Comment (by Max Battcher <[EMAIL PROTECTED]>):
Replying to [comment:4 SmileyChris]:
> http://www.djangoproject.com/documentation/settings/#altering-settings-
at-runtime
Thanks.
I still think that this is enough of an edge case to warrant bending the
advice there. It does say "should not" rather than "must not". I would
assume this process_request middleware is a fine exception, particularly
for a setting that is used by a contrib app, rather than a core setting.
--
Ticket URL: <http://code.djangoproject.com/ticket/4438#comment:5>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---