Skip to content
Snippets Groups Projects
Commit a4f0bb8b authored by frekk's avatar frekk
Browse files

fix static files not being found

parent ae937fa4
Branches
No related merge requests found
......@@ -12,7 +12,7 @@ misc/pg.json
env/
# static files from `gms/manage.py collectstatic`
gms/static
media/
# Logs
logs
......
......@@ -62,9 +62,11 @@ DATABASE_ROUTERS = ['import_members.db.MemberDbRouter']
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static'),
]
STATIC_URL = '/media/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_ROOT = os.path.join(ROOT_DIR, 'media')
AUTHENTICATION_BACKENDS = [
# see https://django-auth-ldap.readthedocs.io/en/latest for configuration info
......
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