Changes between Version 3 and Version 4 of Ticket #21648, comment 7


Ignore:
Timestamp:
Sep 17, 2014, 8:28:07 AM (10 years ago)
Author:
Philipp Metzler

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21648, comment 7

    v3 v4  
    66- 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() }}}
    77
    8 I could remove the singe sites object in the database and then password_reset would return RequestSite(request).domain instead of Site.objects.get_current().domain but the sites object in the database is used at other places. So this is not an option. I will get rid of django CMS in this Django instance in the near future so I will be able to just remove django.contrib.sites from INSTALLED_APPS - but that will just be a solution for me at that point in time.
     8I could remove the single sites object in the database and then password_reset would return RequestSite(request).domain instead of Site.objects.get_current().domain but the sites object in the database is used at other places in the code. So this is not an option. I will get rid of django CMS in this Django instance in the near future so I will be able to remove django.contrib.sites from INSTALLED_APPS - but that will just be a solution for me at that point in time.
Back to Top