On 9/21/06, Gabriel Puliatti <[EMAIL PROTECTED]> wrote:
> 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.
Never mind, it's fixed now. I followed Malcolm's advice and got the
things from the database, using the id.
Took me a while to figure it out. :P Thanks for all, guy.
--
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
-~----------~----~----~----~------~----~------~--~---