When you say nothing changes, how are you calling the page? And what do you see in your browser - any error message or stack trace or is it just a blank page?
Also I assume the below were copied from the tutorial. Can you post the contents of the three files as you typed them in your code? On Monday, 20 October 2014 04:31:57 UTC+1, Tri Vo wrote: > > So I am following the tutorial in this site, and copy and the first three > codes into my project (polls/views.py, polls/urls.py, and mysite/urls/py) > https://docs.djangoproject.com/en/1.7/intro/tutorial03/ > > polls/views.py > > from django.http import HttpResponse > > def index(request): > return HttpResponse("Hello, world. You're at the polls index.") > > > polls/urls.py > > from django.conf.urls import patterns, url > from polls import views > urlpatterns = patterns('', > url(r'^$', views.index, name='index'),) > > The next step is to point the root URLconf at the polls.urls module. In > mysite/urls.pyinsert an include() > <https://docs.djangoproject.com/en/1.7/ref/urls/#django.conf.urls.include>, > leaving you with: > mysite/urls.py > > from django.conf.urls import patterns, include, urlfrom django.contrib import > admin > urlpatterns = patterns('', > url(r'^polls/', include('polls.urls')), > url(r'^admin/', include(admin.site.urls)),) > > > When I launch my site, nothing changes. I do not see the "hello, world..." > message at all. What did I do wrong? > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/33a5f0c4-2dba-4c3b-b1aa-d2f024f27c38%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

