#10608: Support RequestSite along with Sites.objects.get_current() in contrib --------------------------+------------------------------------------------- Reporter: hvendelbo | Owner: nobody Status: new | Milestone: Component: Contrib apps | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 1 | --------------------------+------------------------------------------------- Most contrib apps assume that the Site model from contrib.sites is used. The login function from auth does a test to see if the Site model is installed, and otherwise resolves the site using django.contrib.sites.models.RequestSite
This patch duplicates the login function behaviour in auth.forms, comments.feeds, contenttypes.views, gis.sitemaps.views, sitemaps, and sitemaps.views -- Ticket URL: <http://code.djangoproject.com/ticket/10608> 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 django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---