Closed bculpepper closed 7 years ago
I believe I am interpreting the instructions correctly when I replace SITE_ID = 1 in my settings.py file with SITE_ID = SiteID(default=1)
This leads to the following error. Please advise if there is something I am misunderstanding.
File "/home/vagrant/multisite_demo/multisite_demo/settings/base.py", line 81, in SITE_ID = SiteID(default=1) NameError: name 'SiteID' is not defined
Django==1.9.9 django-cms==3.3.2 django-multisite==1.3.1
Thanks!
Brandon Culpepper
I was able to resolve this. Turns out I was missing the following critical line in my settings.py
from multisite import SiteID
Brandon
I believe I am interpreting the instructions correctly when I replace SITE_ID = 1 in my settings.py file with SITE_ID = SiteID(default=1)
This leads to the following error. Please advise if there is something I am misunderstanding.
File "/home/vagrant/multisite_demo/multisite_demo/settings/base.py", line 81, in
SITE_ID = SiteID(default=1)
NameError: name 'SiteID' is not defined
Django==1.9.9 django-cms==3.3.2 django-multisite==1.3.1
Thanks!
Brandon Culpepper