ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread Madhur Kabra
I am getting the url conf error, I have attached the relevant files. Thanks for the assistance -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread Adam Johnson
Hi! I think you've found the wrong mailing list for this post. This mailing list is for the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely to answer yo

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread Dimple Mathew
Hey update the code to this: urlpatterns = [ url('^$', views.index, name=index), ] this will tell the start and end of url. On Monday, May 27, 2019 at 8:17:47 PM UTC+5:30, Madhur Kabra wrote: > > I am getting the url conf error, I have attached the relevant files. > Thanks for the assistanc

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread rajan khadka
in this from django.urls import URLPattern, url from . import views urlpatterns = [ url('', views.index, name=index), ] can u replace with this from django.urls import path from . import views urlpatterns = [ path('', views.index, name=index), ] On Mon, May 27, 2019 at 8:32 PM Madhu

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-27 Thread Dimple Mathew
and also in import for include change it to from django.conf.urls import url,include On Monday, May 27, 2019 at 8:17:47 PM UTC+5:30, Madhur Kabra wrote: > > I am getting the url conf error, I have attached the relevant files. > Thanks for the assistance > -- You received this message because

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-28 Thread Madhur Kabra
Thanks for your answer, but this isn't working. Could you help me with another solution On Monday, May 27, 2019 at 10:06:37 PM UTC+5:30, rajan khadka wrote: > > in this > > from django.urls import URLPattern, url > from . import views > > urlpatterns = [ > url('', views.index, name=index), >

Re: ERROR: The included URLConf 'website.urls' does not appear to have patterns in it. If u see valid patterns in the file then there is issue of Circular import.

2019-05-28 Thread Tom Forbes
As Adam states before, in the first reply to your original message, this mailing list is for the internal development of Django and not for getting help with your Django projects. There are numerous other places to ask, check his email for a few, and a lot of people (myself included) willing to