\w matches alphanumeric characters, so that expression should work. What
exactly is the error?
_Nik
On 6/1/2012 6:55 PM, Min Hong Tan wrote:
> Hi all,
>
> My error msg when i trying to pass character instead of decimal value
> through the
> URL pattern
>
> URL Link:
>
>
> /project1/program1_add/DUMXXXX014749/
>
>
>
> URLS.py
>
> url(r'^
>
>
> program1_add
>
> /(?P<key_unquekey>\w{1,13})/$', 'view.program_common_add''),
>
> Is there any way to pass character instead of value?
>
> Regards,
> MH
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.