ernestophone.ens.fr/Ernestophone/settings/local.py

28 lines
517 B
Python
Raw Normal View History

import os
from .common import * # noqa
2018-01-05 00:06:24 +01:00
from .common import BASE_DIR, INSTALLED_APPS, MIDDLEWARE
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
DEBUG = True
INSTALLED_APPS += ["debug_toolbar"]
2018-01-05 00:06:24 +01:00
MIDDLEWARE = (
["debug_toolbar.middleware.DebugToolbarMiddleware"]
2018-01-05 00:06:24 +01:00
+ MIDDLEWARE
)
STATIC_URL = "/static/"
MEDIA_URL = "/media/"
2018-01-05 00:06:24 +01:00
MEDIA_ROOT = "media"
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": os.path.join(BASE_DIR, "db.sqlite3"),
}
}