Fix settings to work with salt state definitions

- move from assets to static
This commit is contained in:
Jan Dittberner 2020-03-07 18:25:49 +01:00
parent fda129e81a
commit 47a1e1dc55
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -55,3 +55,4 @@ coverage-report/
/docker/django_static
!/docker/django_media/.empty
!/docker/django_static/.empty
/static/

View File

@ -99,7 +99,7 @@ MEDIA_URL = "/media/"
STATIC_URL = "/static/"
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS # noqa
STATICFILES_DIRS = (normpath(join(SITE_ROOT, "gnuviechadmin", "assets")),)
STATICFILES_DIRS = (normpath(join(SITE_ROOT, "gnuviechadmin", "static")),)
# See: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-finders # noqa
STATICFILES_FINDERS = (