* martedì 06 febbraio 2007, alle 20:10, Russell Keith-Magee wrote :
> data.rims.add(req.POST.getlist('rims'))

*****************
Exception Type: TypeError
Exception Value: list objects are unhashable
*****************

I've try with:

for newrim in req.POST.getlist('rims'):
        dati.rims.add(newrim)

but the data are added also when I update the Previsione ...
searching on group archive, I think I must implement a 'save' method
into the Previsione class ... is correct ?

and if it's correct, how can I access the POST data from the save() method ?

> Yours,
> Russ Magee %-)

tanks ...

-- 
#include <stdio.h>
int main(void){char c[]={10,65,110,116,111,110,105,111,32,98,97,114,98,111,110,
101,32,60,104,105,110,100,101,109,105,116,64,116,105,115,99,97,108,105,110,101,
116,46,105,116,62,10,10,0};printf("%s",c);return 0;}

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to