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
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
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
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
4 matches
Mail list logo