You are using Django 1.11 with the tutorial written for Django 2.0. Therr should be a version picker on the bottom right of the tutorial.
You are seeing this error because the way to import ‚include' has changed from 1.11 to 2.0
Hope that helps,
Daniel
--Hello,Python 2 7 13Gjango 1.11.13Creating the Polls app OK
Write your first view OK
But python manage runserver don't workWith : python -Wall manage.py testImportError : cannot import name includeIf you want to see something, ask meMany thanks
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/1fe7df04-dc85-4a3d-940e-4dde7de31477%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment