If the error is "list indices must be integers, not str" then I
imagine you are trying to access a list using a String rather than
Integers :)

We'd have to see your View and probably the related model you're using
the "key_uniquekey" value on to help you out a bit more.

On 6/1/12, Nikolas Stevenson-Molnar <[email protected]> wrote:
> \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.
>
>

-- 
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.

Reply via email to