El diumenge 31 de març de 2013 21:01:55 UTC+2, frocco va escriure:
url(r'^narrow_category/(\d+)/$', 'catalog.views.narrow_ category', name="narrow_category"), url(r'^narrow_category/(\d+)/(\w+)/$', 'catalog.views.narrow_ category', name="narrow_category"), url(r'^narrow_category/(\d+)/(\w+)/(\d+)/$', 'catalog.views.narrow_ category', name="narrow_category"), url(r'^narrow_category/(\d+)/(\w+)/(\d+)/(\d+)/$', 'catalog.views.narrow_ category', name="narrow_category"), url(r'^narrow_category/(\d+)/(\w+)/(\d+)/(\d+)/(\d+)/$', 'catalog.views.narrow_ category', name="narrow_category"), def narrow_category(request, pk, search='', size1='', size2='', size3=''):Page not found (404)
Request Method: GET Request URL: http://127.0.0.1:8000/narrow_ category/8/2657018///
I missed this in my first read: you should give each rule a different name.
Regards
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