Tuesday, October 21, 2014

Re: djangoproject.com tutorial part 3

On Tuesday, 21 October 2014 00:01:56 UTC+1, Tri Vo wrote:
I am calling the page with "python manage.py runserver 0.0.0.0:8000" When I load up the page before adding the views and urls files, I see the polls and everything that I have set up with the codes from the previous pages of the tutorial. After adding the  views and urls files, the page looks the same like, even though the direction tells me that I should see the "Hello world" message that I put in the views file. I ran another directory with different way to put up the views like in this tutorial (http://www.djangobook.com/en/2.0/chapter03.html) and I got the views working by itself, but using the djangoproject tutorial, I do not see the message.

You didn't read closely enough:

"You have now wired an index view into the URLconf. Go to **http://localhost:8000/polls/** in your browser, and you should see the text "Hello, world. You're at the polls index.", which you defined in the index view."

Note the address.
--
DR.

--
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ee6f6ec9-f8e6-4101-8aa4-3e388a9d8ffa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment