Tuesday, April 30, 2013

Re: noob "hello world" problem with URLconf

Hi. Can you please post your full urls.py?


2013/4/30 <levito@gmail.com>
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.

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 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.
 
 

--
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