Re: NoReverseMatch for a named URL

2009-02-21 Thread Philippe Clérié
You were right! There was a missing view! Thanks! -- Philippe -- The trouble with common sense is that it is so uncommon. On Friday 20 February 2009 18:11:44 Briel wrote: > I've seen errors like this when an url is missing a view to link > to. All urls defined must have a view aswel

Re: NoReverseMatch for a named URL

2009-02-21 Thread Philippe Clérié
Thanks. I checked carefully and all the defined URLs do have a view defined. There are no apparent problems with the templates. And this morning I'm getting a new error. A named url is reversed correctly but the page is not found. Yesterday, it was found all right. Curiouser and curiouser! -

Re: NoReverseMatch for a named URL

2009-02-20 Thread Briel
I've seen errors like this when an url is missing a view to link to. All urls defined must have a view aswell. Start checking there else look the problem could be that you are missing args for a url tag in your template. Some reverse matching need args to fill in the dynamic part of the url, like

NoReverseMatch for a named URL

2009-02-20 Thread Philippe Clérié
I am working through the examples in Pratical Django Projects. I am using Django 1.02 on Ubuntu Intrepid. I expected to find problems because of version differences but in general I've been able to work out a solution. This one has got me stumped. You see the named url that is at fault is diff