Hey everyone,
I've gotten to the "Include urlpatterns" section, have put the urlpatterns into my urls.py file, but when I try to run manage.py migrate or manage.py runserver I get: NameError: name 'include' is not defined
I can search this message and find I seem to be missing this from urls.py: from django.conf.urls import include
So I added that line out of curiosity, but then I get this:
django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'wiki.urls' from '/usr/local/lib/python3.6/site-packages/wiki/urls.py'>' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.
I've tried this quite a few times in the past week, deleting the project and starting over again. I have carefully read that Installation guide page over again multiple times to see what I am doing wrong, but just can't make sense of these issues.
What am I missing? Any help is appreciated! Thanks!