Thanks. I fixed it
On Fri, Oct 12, 2018 at 3:07 PM Ігор Магур <[email protected]> wrote:
> You need to import polls.views, and pass view.index into path func
> Ex from polls import views
> urlpatterns = [
> path('polls/', views.index),
> ]
>
> --
> 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/05544735-4b4d-4b66-b4ab-f8aa3d5bd29f%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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_dEj7so_Ze_H8K4Ljy3yR%3DR3_%2B%3DSJHdauBz680R_AaPoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.