Re: [newbie] -- Regex-matching ("Tango with Django")

2014-03-15 Thread Camilo Torres
On Friday, March 14, 2014 8:14:57 PM UTC-4:30, David wrote: > > I am wodering whether my implementation is incorrect or whether there is > a typo in the textbook. My question is how I can make sense of these > instructions: "The regular expression to match about/ is r'^about/'". > > I was follow

Re: [newbie] -- Regex-matching ("Tango with Django")

2014-03-14 Thread Shawn Milochik
You're meant to only have one include that redirects URLs beginning with rango to the app's urls.py. Then, the app's urls.py must not have /rango in the URLs. The idea is that all URLs starting with "rango" get the "rango" stripped off and passed to the rango app, which itself has / and /about. -

[newbie] -- Regex-matching ("Tango with Django")

2014-03-14 Thread David
Dear list, I am wodering whether my implementation is incorrect or whether there is a typo in the textbook. My question is how I can make sense of these instructions: "The regular expression to match about/ is r'^about/'". I was following the "Tango with Django" book. In the exercises of chapter