As Alex pointed out, only picklable data can be put in the session. If
you really need that ImagingCore object in the session, you have to
make it somehow picklable by adding "__getstate__" and "__setstate__"
method for picklability (see http://docs.python.org/library/pickle.html).
Basically, you'd need to find out what data identifies the object as
it is now (the image path for example) so that it can be constructed
back from scratch into its current state from that data alone, which
must in turn by picklable.

Of course if the ImagingCore class is not one of your own, you'll have
to inspect then subclass it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to