Tuesday, August 28, 2012

Re: reverse function giving me NoReverseMatch exception

On Tue, 28 Aug 2012 23:35:01 -0700 (PDT)
nav <navanitachora@gmail.com> wrote:

> BACKEND = r'(?P<backend>[a-z])'

Your BACKEND pattern is only matching single characters. Try

BACKEND = r'(?P<backend>[a-z]+)'

Best wishes,
Sebastian.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment