O
O
OldBoy2022-04-03 17:31:00
css
OldBoy, 2022-04-03 17:31:00

CSS to HTML not working in DJango?

in Pycharm
link rel="stylesheet" href="{% static 'main/css/main.css' %} }" type="text/css"
this is how I connect the css file, when hovering over it, the file finds
{% load static %} connected
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
] in settings.py connected
no styles in browser and ctrl + u does not find css file

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question