Changes between Version 3 and Version 4 of Ticket #21648, comment 7
- Timestamp:
- Sep 17, 2014, 8:28:07 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21648, comment 7
v3 v4 6 6 - 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() }}} 7 7 8 I could remove the sing e 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 justremove django.contrib.sites from INSTALLED_APPS - but that will just be a solution for me at that point in time.8 I 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.