Changes between Initial Version and Version 2 of Ticket #10865
- Timestamp:
- Apr 18, 2009, 10:05:41 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10865 – Description
initial v2 1 1 I am getting an error while trying this code. I am using memcached as my backend. It looks like it isn't able to correctly pickle the queryset. This article makes me think it should be able to pickle them... http://docs.djangoproject.com/en/dev/ref/models/querysets/#pickling-querysets 2 2 {{{ 3 3 >>> places = Place.objects.all() 4 4 >>> cache.set("places", pickle.dumps(places)) … … 16 16 __import__(module) 17 17 TypeError: __import__() argument 1 must be string without null bytes, not str 18 }}}