|
|
@ -13,6 +13,7 @@ https://docs.djangoproject.com/en/1.8/ref/settings/ |
|
|
|
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) |
|
|
|
import os |
|
|
|
|
|
|
|
|
|
|
|
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) |
|
|
|
|
|
|
|
|
|
|
@ -57,6 +58,7 @@ INSTALLED_APPS = ( |
|
|
|
|
|
|
|
MIDDLEWARE_CLASSES = ( |
|
|
|
'django.contrib.sessions.middleware.SessionMiddleware', |
|
|
|
'django.middleware.locale.LocaleMiddleware', |
|
|
|
'django.middleware.common.CommonMiddleware', |
|
|
|
'django.middleware.csrf.CsrfViewMiddleware', |
|
|
|
'django.contrib.auth.middleware.AuthenticationMiddleware', |
|
|
@ -108,6 +110,9 @@ USE_I18N = True |
|
|
|
USE_L10N = True |
|
|
|
USE_TZ = True |
|
|
|
|
|
|
|
LOCALE_PATHS = ( |
|
|
|
'locale', |
|
|
|
) |
|
|
|
|
|
|
|
# Static files (CSS, JavaScript, Images) |
|
|
|
# https://docs.djangoproject.com/en/1.8/howto/static-files/ |
|
|
|