Configure multisite SITE_ID
This commit is contained in:
parent
f62b331919
commit
a30e8a6adf
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ PROJECT_DIR = os.path.abspath(
|
|||
# load .env file
|
||||
dotenv.read_dotenv("{0}/.env".format(PROJECT_DIR))
|
||||
|
||||
SITE_ID = 1
|
||||
from multisite import SiteID
|
||||
SITE_ID = SiteID(default=1)
|
||||
|
||||
APP_ROOT_ENDPOINT = "/"
|
||||
APPEND_SLASH = True
|
||||
|
|
Loading…
Reference in a new issue