25👍
✅
Change
from django.conf.urls import static
to
from django.conf.urls.static import static
and you’re good to go.
👤petr
-1👍
from django.conf.urls.static import static
write this line, Instead of
from django.conf.urls import static
- [Django]-405 POST method no allowed on heroku with django
- [Django]-Autocomplete with django-autocomplete-light’s
- [Django]-How to pass args to a signal
- [Django]-UUID Is not JSON Serializable (dumpdata)
Source:stackexchange.com