Paul Rauch wrote on 04/07/07 12:28:
> Hello,
> 
>> test = bla(rights={'bla':'blupp'})
>> test.save()
>> Traceback (most recent call last):
>>  File "<console>", line 1, in <module>
>>  File "/usr/lib64/python2.5/site-packages/django/db/models/base.py",
>> line 242, in save
>>    ','.join(placeholders)), db_values)
>>  File "/usr/lib64/python2.5/site-packages/django/db/backends/util.py",
>> line 12, in execute
>>    return self.cursor.execute(sql, params)
>>
>> rights = models.TextField()
> 
> the "easiest" way seems to easy.
> ok, so how can I store a dict in the database?
> 
> mfg Light Lan

Hi Paul

Maybe this helps:
http://groups.google.com/group/django-users/browse_thread/thread/5196655dfbcb8e0/77d84089fbb799a4?lnk=gst&q=Pickling+Sessions+(or+lists+of+instances)&rnum=1#77d84089fbb799a4

cheers
Steven

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