Tuesday, April 30, 2013

noob "hello world" problem with URLconf

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.


This works:
url(r'hello/$', hello),

This doesn´t:
url(r'^hello/$', hello),

Hopefully someone can help.


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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment