18 lines
519 B
Python
18 lines
519 B
Python
"""
|
|
Note that for this to work at all, you must have memcached running (or you won't
|
|
get shared sessions)
|
|
"""
|
|
|
|
# We intentionally define lots of variables that aren't used, and
|
|
# want to import all variables from base settings files
|
|
# pylint: disable=wildcard-import, unused-wildcard-import
|
|
|
|
from courses import *
|
|
|
|
# Move this to a shared file later:
|
|
for class_id, db_name in CLASSES_TO_DBS.items():
|
|
DATABASES[class_id] = {
|
|
'ENGINE': 'django.db.backends.sqlite3',
|
|
'NAME': path_for_db(db_name)
|
|
}
|