On 23-8-2012 0:37, Michael Palumbo wrote: > ok thanks, so you'd rather do it with a Model than a custom field. > I actually started to make a custom field but I had a few issues while > displaying it in the admin so that's why I asked the question then.
You can pickle an object and store the result in a blob-type field or encode it and put it in a TextArea field: <http://docs.python.org/library/pickle.html#pickle> It's basically what the session module is doing. Perhaps look there for inspiration: <https://docs.djangoproject.com/en/1.4/topics/http/sessions/#technical-details> -- Melvyn Sopacua -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.