There are 3 things I can think of off the top of my head:
- Just used named urls, it’s more robust and maintainable anyway
-
Try using
django.core.urlresolvers.reverse
at the command line for a (possibly) better error>>> from django.core.urlresolvers import reverse >>> reverse('products.views.filter_by_led')
-
Check to see if you have more than one url that points to that view