[Answer]-Django STATIC_URL = '/'

1👍

just to make sure- you are not confusing the following:

STATIC_ROOT refers to where you put your static files

STATIC_URL refers to where queries over the internet will get your static assets (eg: www.abc.com/static/jquery.js)

if you do indeed mean STATIC_URL, then it sounds like it could cause a lot of trouble, because then your static files might have the same name as a url pattern that you have defined for one of the views.

👤conrad

Leave a comment