Flexible wording static file path

11, the static file path flexible wording
Refers to the current path STATICFILES_DIRS splicing static
STATIC_URL refers / static / stitching path above the enantiomers, i.e. aliases

11, the static file path flexible wording

{% Load static%} static load module
{% static 'bootstrap / xx / xx.css'%} refers to find the alias static files, no matter what changed alias name, and then find an alias spliced into a static file path

Guess you like

Origin blog.51cto.com/yht1990/2401921