Changes between Version 1 and Version 2 of Ticket #21648, comment 7
- Timestamp:
- Sep 17, 2014, 8:07:56 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21648, comment 7
v1 v2 1 1 No I've got: 2 2 3 - One Django instance with one settings.py which contains SITE_ID = 13 - One Django instance with one settings.py which contains {{{ SITE_ID = 1 }}} 4 4 - Django CMS installed and INSTALLED_APPS containing django.contrib.sites The django CMS pages are only rendered for www.domain.tld 5 5 - Several subdomains 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 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()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() }}}