A
A
Alexander2018-09-24 19:49:01
Django
Alexander, 2018-09-24 19:49:01

How to include django styles?

STATIC_URL = '/static/' - well, I understand that. But it turns out that for each application I need to insert the same css scripts into static. How to connect them to their project root folder?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2018-09-24
@AleksandrB

Add a shared statics directory to STATICFILES_DIRS .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question