On 9/21/06, Aidas Bendoraitis <[EMAIL PROTECTED]> wrote:
> courses = new_data.getlist('courses')
Hm, I used that. I can print new_data.getlist('courses') and get the
list, but when I try to assign it to a variable for writing, I get
"'str' object has no attribute '_get_pk_val'"
However, this only happens when I do new_profile.save(). When I try to
write what you said, it works and I can print, but the same happens
when trying to save.
--
No violence, gentlemen -- no violence, I beg of you! Consider the furniture!
-- Sherlock Holmes
Gabriel Puliatti
[EMAIL PROTECTED]
predius.org
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---