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-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

Form not valid error

2019-05-08 Thread Dimple Mathew
I am trying to pass data from a form to view, but form is not valid. I have 3 drop-downs on this form on clicking on submit, if any relavant data is available in the database it should be loaded on the template. Basically this form is a set of filters that load data based on selection. views.py