Hello
I am trying the django/mysite/polls tutorial.
After typing, actually copying and pasting this:
from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path('polls/', include('polls.urls')),
path('admin/', admin.site.urls),
]
Running this command ( i am using python 3)
$ python3 manage.py runserver
I get the following error:
raise ImproperlyConfigured(msg.format(name=self.urlconf_name))
django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'polls.urls' from
'/home/gino/djangoDEV/mysite/polls/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.
CAN ANYBODY tell me what IS WRONG???