-{% block content %}
-
-{% endblock %}
-
- diff --git a/CourseField/settings.py b/CourseField/settings.py index 71bdbb2..760c716 100644 --- a/CourseField/settings.py +++ b/CourseField/settings.py @@ -120,9 +120,8 @@ USE_TZ = True # https://docs.djangoproject.com/en/5.0/howto/static-files/ STATIC_URL = 'static/' -STATICFILES_DIRS = [ - BASE_DIR / 'static', -] + +STATIC_ROOT = BASE_DIR / 'static' MEDIA_URL = '/' MEDIA_ROOT = BASE_DIR diff --git a/templates/courses/base.html b/templates/courses/base.html index d2c7250..25a7028 100644 --- a/templates/courses/base.html +++ b/templates/courses/base.html @@ -5,11 +5,11 @@
-