#21648: Deprecate "is_admin_site" option of auth.views.password_reset()
--------------------------------------+------------------------------------
     Reporter:  brain@…               |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  closed
    Component:  contrib.auth          |                  Version:  master
     Severity:  Normal                |               Resolution:  fixed
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by googol7):

 No I've got:

 - One Django instance with one settings.py which contains SITE_ID = 1
 - Django CMS installed and INSTALLED_APPS containing django.contrib.sites
 The django CMS pages are only rendered for www.domain.tld
 - Several subomains pointing to the same Django instance. nginx is
 redirecting / to /admin on these subdomains as we only allow login and
 password reset but do not display any django CMS content there:
 abc.domain.tld, def.domain.tld, ghi.domain.tld, jkl.domain.tld
 - In the templates I use a templatetag which returns different
 configurations (CSS, etc.) for the subdomains in use based on the host:
 host = context['request'].get_host()

--
Ticket URL: <https://code.djangoproject.com/ticket/21648#comment:7>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/082.ed06c62e5f850031432b6275d6bae64a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to