Move staticfiles and locale inside the package

This commit is contained in:
Raphael Michel
2016-02-16 16:08:37 +01:00
parent b36314b909
commit d4b3c9717c
1382 changed files with 224985 additions and 4 deletions
+2 -2
View File
@@ -190,7 +190,7 @@ USE_L10N = True
USE_TZ = True
LOCALE_PATHS = (
'locale',
os.path.join(os.path.dirname(__file__), 'locale'),
)
LANGUAGES = (
@@ -257,7 +257,7 @@ STATICFILES_FINDERS = (
)
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')
os.path.join(os.path.dirname(__file__), 'static')
]
if os.path.exists(os.path.join(DATA_DIR, 'static')):