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 > wrote:
>
> > BACKEND = r'(?P[a-z])'
>
> Your BACKEND pa
On Tue, 28 Aug 2012 23:35:01 -0700 (PDT)
nav wrote:
> BACKEND = r'(?P[a-z])'
Your BACKEND pattern is only matching single characters. Try
BACKEND = r'(?P[a-z]+)'
Best wishes,
Sebastian.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
Sorry got posted before I finished.
Let me start again.
I have a view function defined like this:
my_view(request, uuid, backend=None)
my urls.py have this:
UUID_PATTERN = r'(?P[A-Za-z0-9_-]{22})'
BACKEND = r'(?P[a-z])'
url(r'^my/view/%s/%s/$' % (UUID_PATTERN, BACKEND),
'my_view', nam
Dear Folks,
I have the following view function defined like this:
my_view(request, uuid, backend=None)
--
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/-/did
4 matches
Mail list logo