Re: Can someone help me with this error. No ReverseMatch

2013-04-10 Thread Chris Ramón
using one url would be: url(r'''^narrow_category/(?P\d+)/(?P\w*)''' r'(?:\/(?P\d+))?' r'(?:\/(?P\d+))?' r'(?:\/(?P\d+))?$', 'catalog.views.narrow_category', name="narrow_category"), second_digit, third_digit and fourth_digit parameters would be optional, and your view would look

Can someone help me with this error. No ReverseMatch

2013-04-09 Thread frocco
NoReverseMatch: Reverse for 'narrow_category' with arguments '(9L, u'pro contact', u'', u'', u'')' and keyword arguments '{}' not found. url(r'^narrow_category/(\d+)/(\w*)/(\d*)/(\d*)/(\d*)/$', 'catalog.views.narrow_category', name="narrow_category"), url(r'^narrow_category/(\d+)/(\w+)/$',