Well, what does /home/gino/djangoDEV/mysite/polls/urls.py contain?



On Tue, 2 Oct 2018 at 18:55, 'ginost7' via Django users <
[email protected]> wrote:

> Hello
>
> I am trying the django/mysite/polls tutorial.
>
> After typing, actually copying and pasting this:
>
> from django.contrib import adminfrom 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???
>
> --
> 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/0b0f1750-24dd-4dd1-8658-f68e9156a911%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/0b0f1750-24dd-4dd1-8658-f68e9156a911%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAA%3Diw_9zkBBGFv9Fax3%3DbKMs2i6FDbbGUr%3D%2BDYcnX5P93hBztw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to