Re: list indices must be integers, not str
\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 theURL 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 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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home