Wednesday, August 29, 2012

Re: reverse function giving me NoReverseMatch exception

Thanks Sebastian that worked. Can't believe it was that simple been breaking my head on this for hours!

Cheers,
nav

On Wednesday, August 29, 2012 12:19:22 PM UTC+5:30, Sebastian wrote:
On Tue, 28 Aug 2012 23:35:01 -0700 (PDT)
nav <navani...@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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_wPlcp8NKPwJ.
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