^ is only start with hello. it may be your issues in urls.py
Karl Programmer at Olivet Institute of Technology http://oit.olivetuniversity.edu/ 在 2013年4月30日星期二UTC-4下午1时25分41秒,[email protected]写道: > > what´s up everyone. I just installed Django for the first time, leaving > php in the closet for a while. > > My problem is concerning the url patterns. I´ve pasted the example "Hello > world" code directly from the django book to urls.py and views.py so I´ll > leave out all extra code since it has something to do with my configuration. > > > http://www.djangobook.com/en/2.0/chapter03.html > > This works: > url(r'hello/$', hello), > > This doesn´t: > url(r'^hello/$', hello), > > Hopefully someone can help. > > N > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

