[Answer]-Django local static files path puzzle

1👍

✅

What does your urls.py look like? Have you forgotten to include a static files url? If you look at the documentation on serving static files https://docs.djangoproject.com/en/dev/howto/static-files/#serving-static-files-in-development it suggests putting the following in urls.py

from django.contrib.staticfiles.urls import staticfiles_urlpatterns

# ... the rest of your URLconf goes here ...

urlpatterns += staticfiles_urlpatterns()

Leave a comment