Browse Source

Fix settings to work with salt state definitions

- move from assets to static
master
Jan Dittberner 2 years ago
parent
commit
47a1e1dc55
  1. 1
      .gitignore
  2. 2
      gnuviechadmin/gnuviechadmin/settings.py

1
.gitignore

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

2
gnuviechadmin/gnuviechadmin/settings.py

@ -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 = (

Loading…
Cancel
Save