Commit 1715b6ef authored by sim's avatar sim

Better default paths for static files

parent a4ad088a
*.pyc
__pycache__
/static
......@@ -112,10 +112,11 @@ JWT_AUTH = {
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.9/howto/static-files/
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static'),
os.path.join(BASE_DIR, 'gargantext/static'),
)
STATICFILES_FINDERS = (
......@@ -126,7 +127,6 @@ STATICFILES_FINDERS = (
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_URL = '/media/'
# Database
# https://docs.djangoproject.com/en/1.9/ref/settings/#databases
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment