diff --git a/sikweb/base.py b/sikweb/base.py index db029b4..bf1467c 100644 --- a/sikweb/base.py +++ b/sikweb/base.py @@ -9,13 +9,11 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.9/howto/static-files/ -STATICFILES_FINDERS = ( - "django.contrib.staticfiles.finders.AppDirectoriesFinder", - "django.contrib.staticfiles.finders.FileSystemFinder", -) -STATIC_URL = "/static/" +STATIC_URL = "static/" STATIC_ROOT = os.path.join(BASE_DIR, "collected_static") -STATICFILES_DIRS = (os.path.join(BASE_DIR, "static"),) +STATICFILES_DIRS = [ + os.path.join(BASE_DIR, "static"), +] MEDIA_ROOT = os.path.join(BASE_DIR, "media") MEDIA_URL = "/media/" diff --git a/templates/admin/base_site.html b/templates/admin/base_site.html index 953e7d1..e75bee9 100644 --- a/templates/admin/base_site.html +++ b/templates/admin/base_site.html @@ -1,6 +1,8 @@ {% extends "admin/base.html" %} {% load i18n %} +{% load static %} + {# Additional
content here, some extra meta tags or favicon #} {% block extrahead %}