Re: error in coding

2018-07-25 Thread mounikesh mintu
post your urls patterns On Wed, Jul 25, 2018 at 5:40 PM, Rohit Sharma wrote: > I am very new to Django. I have started a project and created my first app > but whenever i start editing the app i always get this error. i have > attached the screenshot of the error. > please help me out in a simpl

Re: error in coding

2018-07-25 Thread Neil Haria
check the urls.py file, it might be empty or you have not added any urls in that file On Wed, Jul 25, 2018 at 5:45 PM Rohit Sharma wrote: > I am very new to Django. I have started a project and created my first app > but whenever i start editing the app i always get this error. i have > attached

Re: error in coding

2018-07-25 Thread Julio Biason
Hi Rohit, The problem is that you have `urlpatterns = ` (an assignment without value) which is invalid Python code. Either you need to finish the line (add the value that should be assigned to urlpatterns) or add a "\" to mark that the line continues in the line below. (As a last resort, you can r