Hello everyone,
I am new to Django. I have been following the documentation and getting
started with my first app.I get the following TypeError: view must be a
callable or a list/tuple in the case of include(). I added path(r'^polls/$'
,'polls.views.index'), in the mysite url file just because path('polls/',
include('polls.urls')), is not supported by Django 2.1. I need help on how
to fix this error and continue with learning.
--
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 [email protected].
To post to this group, send email to [email protected].
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/CAG5pd_eKca1dVVJ-dmDcM_QF4EW_%2BDZamzDj0c_4uTLv-MH5%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.