Tuesday, July 23, 2019

Re: Error running Django tutorial

Thank you. I think this is the issue for many of us...

mysite/


On Friday, January 4, 2019 at 4:38:47 AM UTC-8, Nitin Tiwari wrote:
I just wanna, explain my experience, in the official tutorial https://docs.djangoproject.com/en/2.1/intro/tutorial01/  when they tell you to edit urls file of mysite directorythey didnt mention which one. And in the beginning of tutorial our project name is also mysite, so i thought that I have to create new urls.py out side. but you have to to use inbuilld one. 

On Sunday, 28 February 2016 01:20:39 UTC+5:30, Mike Kipling wrote:
I am working through the Django tutorial Writing your first Django app, part 1.
I am using Windows 10, python 3.5.1 and Django 1.9.2 .
 
In the Write your first view section: 
    after writing the polls/views.py and polls/urls.py files,
    and modifying the manage/urls.py file,
    and starting the server,
 
    When I go to http://localhost:8000/polls/ in the browser I get the following error:

Page not found (404)

Request Method: GET
Request URL: http://localhost:8000/polls/

Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:

  1. ^admin/

The current URL, polls/, didn't match any of these.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4ff98db5-025f-461b-9f75-85f8b8f18ebe%40googlegroups.com.

No comments:

Post a Comment