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