Closed tsturzenegger closed 5 years ago
Hi, I'm with the same problem, if anyone can solve it, please let us know
Same issue with django version 1.9 and djangocms version 3.4.5, djangocms-multisite version 0.1.1
if there is a comma (,) at the end of the dict, that turn it into a tuple and there is this error.
MULTISITE_CMS_URLS={
'www.example.com': 'tests.test_utils.urls1',
'www.example2.com': 'tests.test_utils.urls2',
},
Delete the comma and it will work.
Thanks the new readme in #20 fixed the issue, sorry it took so long to provide a feedback
Hi
If i install djangocms-multisite according to the guide. I get the following traceback:
I don't exactly know if there is something unusual with my setup, however I could fix the issue if I change the following file: /.../env/lib/python3.5/site-packages/djangocms_multisite/middleware.py
urlconf = settings.MULTISITE_CMS_URLS[host]
to
urlconf = settings.MULTISITE_CMS_URLS[0][host]
Could this be a general error?
Kind regards Tobias