Re: url templatetag error

2008-09-10 Thread Malcolm Tredinnick
On Wed, 2008-09-10 at 01:19 -0700, aleray wrote: [...] > This last line is unuseful for my project because I want to use slugs > instead of id's, so I try : > > categorie > > And then I get an error : > > NoReverseMatch: Reverse for 'www.news-cat' with arguments '('',)' and > keyword a

url templatetag error

2008-09-10 Thread aleray
Hi, I'm baking a small kind of blog, and I'm trying now to generate a menu for the catgories. I'm using the same view for the main page, and the category pages : (r'^news/$', 'news', {}, 'news-all'), (r'^news/category/(?P\w+)/$', 'news', {}, 'news-cat'), If I enter the url its works (eg