Added static folder for css and js files

parent da5cb309
...@@ -124,6 +124,7 @@ USE_TZ = True ...@@ -124,6 +124,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/4.0/howto/static-files/ # https://docs.djangoproject.com/en/4.0/howto/static-files/
STATIC_URL = 'static/' STATIC_URL = 'static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'widget_group-23/static')]
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
......
...@@ -3,9 +3,18 @@ ...@@ -3,9 +3,18 @@
<meta charset = "UTF-8" /> <meta charset = "UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Widget_23</title> <title>Widget_23</title>
{% block styles %}
{% endblock %}
</head> </head>
<body> <body>
<header>
{% block header %}
{% endblock %}
</header>
{% block body %} {% block body %}
{% endblock %} {% endblock %}
{% block scripts %}
{% endblock %}
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
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