Django {% load staticfiles %} vs {% load static %} - Which One to Use?

Django {% load staticfiles %} vs {% load static %} - Which One to Use?

Jarad Python

5 лет назад

6,823 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Govan Hu
Govan Hu - 28.06.2021 17:08

Thank you!

Ответить
Олег
Олег - 02.04.2021 14:45

Thank you!

Ответить
Priyanshu Kanade
Priyanshu Kanade - 15.02.2021 18:38

it helped 👍

Ответить
Aadesh Wasamkar
Aadesh Wasamkar - 27.07.2020 13:37

Thank you so much .sir

Ответить
Marc C
Marc C - 04.07.2020 01:22

This change sucks! "Load staticfiles" let you know that it is loading the installed app called static files whereas "load static" gives no clue.

Ответить
Fahad Ali
Fahad Ali - 01.06.2020 20:22

when debug = False then static files not showing in localhost please make a sollution

Ответить
Ega E
Ega E - 19.09.2019 13:51

Thank you! Exactly what I was looking for!

Ответить