Re: list indices must be integers, not str

2012-06-01 Thread Kurtis Mullins
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.

Re: list indices must be integers, not str

2012-06-01 Thread Nikolas Stevenson-Molnar
\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: > > >

list indices must be integers, not str

2012-06-01 Thread Min Hong Tan
Hi all, My error msg when i trying to pass character instead of decimal value through the URL pattern URL Link: /project1/program1_add/DUM014749/ URLS.py url(r'^program1_add/(?P\w{1,13})/$', 'view.program_common_add''), Is there any way to pass character instead of value? Regards, MH