Configure multisite SITE_ID

This commit is contained in:
M.Ravi 2018-02-15 10:58:06 +01:00
parent f62b331919
commit a30e8a6adf

View file

@ -54,7 +54,8 @@ PROJECT_DIR = os.path.abspath(
# load .env file # load .env file
dotenv.read_dotenv("{0}/.env".format(PROJECT_DIR)) dotenv.read_dotenv("{0}/.env".format(PROJECT_DIR))
SITE_ID = 1 from multisite import SiteID
SITE_ID = SiteID(default=1)
APP_ROOT_ENDPOINT = "/" APP_ROOT_ENDPOINT = "/"
APPEND_SLASH = True APPEND_SLASH = True