1👍
✅
url patterns are not written like that.
Read more here: https://docs.djangoproject.com/en/1.10/topics/http/urls/
Write it like this: (remove the list of url[..]
)
urlpatterns = [
url(r'^$', ListView.as_view(queryset=IOC.objects.all(),template_name="Folder_Name/Folder_Name.html")),
]
- DJango won't find virtual env
- Downloadable file link in django tables
- Create Django Queryset from Model and ForeignKey
- Why is my request.post object not mutable after calling .copy()?
Source:stackexchange.com