If you wrote something like this:
if settings.DEBUG:
# static files (images, css, javascript, etc.)
urlpatterns += path(...)Make shure that you defined urlpatterns before, like urlpatterns = [], or probably missing definition sign. Need your's urls.py content for a correct answer)Hello everyone . When I try to setup static Media ,I am repeatedly getting error in URLs.py(urlpatterns not defined ). could you solve this.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL3x8KNbwLjxXQ3GwP6UXzWHG_0om%3DhQJZ1G%2BeMfARCOCKEmzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.