Re: App not Defined - Getting Started

2018-06-05 Thread Satyam Soni
Did u registered you app in settings.py file ? This happens when you forget to put name of your app in installed apps in settings.py file. Sent from my iPhone > On 05-Jun-2018, at 2:36 AM, Jaime Escobar wrote: > > Hi, > I am a completely beginner in django and also python programming. I am t

Re: App not Defined - Getting Started

2018-06-05 Thread Sadialiou Diallo
you must replace the > path('polls/',include(polls. > urls)), > by path('polls/',include("polls. urls")), because the polls is not a variable,it is a name of application -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

Re: App not Defined - Getting Started

2018-06-04 Thread Priya
Hi Jamie, I think you should put single quotes inside include() which expects a path for your apps(polls) urls.py. So try- path('polls/',include('polls.urls')) Hope this helps. On Tue, 5 Jun 2018, 2:59 a.m. Jaime Escobar, wrote: > Hi, > I am a completely beginner in django and also python pro

App not Defined - Getting Started

2018-06-04 Thread Jaime Escobar
Hi, I am a completely beginner in django and also python programming. I am trying to follow the online documentation tutorial in which a poll website is created, but just running the server after created the polls it throws the error "name 'polls' is not defined". Can you help me? Unhandled