#10608: Support RequestSite along with Sites.objects.get_current() in contrib
-----------------------------------+----------------------------------------
Reporter: hvendelbo | Owner: nobody
Status: new | Milestone: 1.2
Component: Contrib apps | Version: 1.0
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
-----------------------------------+----------------------------------------
Comment (by arthurk):
Even if the request would be in scope, it wouldn't work correctly for some
methods. For example the FlatPageSitemap method returns
current_site.flatpage_set.all(). It would result in an error if the Sites
framework wouldn't be installed, because the Request object doesn't have a
flatpage_set.
--
Ticket URL: <http://code.djangoproject.com/ticket/10608#comment:5>
Django <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
-~----------~----~----~----~------~----~------~--~---