Django uses Pickling to serialize objects into session values. My guess is that the mechanize Browser
object has not implemented the Pickle serialization protocol, and thus cannot be converted into a valid string that can be loaded back into a Python object.
I think your best bet is probably to extract the cookies from the Browser
session and convert them into a string, save them to your user's session, and re-instantiate a Browser
object with those saved cookie values (if mechanize allows that). Good luck!