Polls website from documentation

36 views
Skip to first unread message

lmchikukwa

unread,
Dec 5, 2017, 6:39:48 PM12/5/17
to Django users
I am a beginner in the django framework. I am having a problem with a page not found error. The code for both the urls' files are attached and the output from the site is show.
Please help me understand what I dd wrong because I do not know.
problem.png

yingi keme

unread,
Dec 5, 2017, 7:20:09 PM12/5/17
to django...@googlegroups.com
Your url is not pointing to the url pattern specified

Try this:


What u are doing is http://localhost:8000/admin/polls.

Then i noticed you deleted the admin url pattern in you urls.py file. You will definitely need to use the admin page pretty soon.

Yingi Kem

On 5 Dec 2017, at 11:22 PM, lmchikukwa <lmchi...@gmail.com> wrote:

I am a beginner in the django framework. I am having a problem with a page not found error. The code for both the urls' files are attached and the output from the site is show.
Please help me understand what I dd wrong because I do not know.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/91994018-827d-49f0-b920-63332ffe90bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<problem.png>

Langton Chikukwa

unread,
Dec 5, 2017, 7:28:06 PM12/5/17
to django...@googlegroups.com

Thank you let me try that

Langton Chikukwa

unread,
Dec 6, 2017, 3:32:11 PM12/6/17
to django...@googlegroups.com
It worked thank you


On Wed, Dec 6, 2017 at 2:22 AM, Langton Chikukwa <lmchi...@gmail.com> wrote:

Thank you let me try that

 

 

From: yingi keme
Sent: Wednesday, December 6, 2017 2:19 AM
To: django...@googlegroups.com
Subject: Re: Polls website from documentation

 

Your url is not pointing to the url pattern specified

 

Try this:

 

 

What u are doing is http://localhost:8000/admin/polls.

 

Then i noticed you deleted the admin url pattern in you urls.py file. You will definitely need to use the admin page pretty soon.

Yingi Kem


On 5 Dec 2017, at 11:22 PM, lmchikukwa <lmchi...@gmail.com> wrote:

I am a beginner in the django framework. I am having a problem with a page not found error. The code for both the urls' files are attached and the output from the site is show.

Please help me understand what I dd wrong because I do not know.

--
You received this message because you are subscribed to the Google Groups "Django users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

<problem.png>

--
You received this message because you are subscribed to the Google Groups "Django users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages