From 24951e53eab5ae5a5e43ba4d87e38c44ae39a9f7 Mon Sep 17 00:00:00 2001 From: Douglas Hall Date: Mon, 11 Apr 2016 12:22:45 -0400 Subject: [PATCH] Fix "Site matching query does not exist" stacktrace when accessing django admin login/logout without a valid site configuration --- lms/envs/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lms/envs/common.py b/lms/envs/common.py index 612386f2d222..d42ac2b4383f 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -786,6 +786,7 @@ CMS_BASE = 'localhost:8001' # Site info +SITE_ID = 1 SITE_NAME = "example.com" HTTPS = 'on' ROOT_URLCONF = 'lms.urls'