﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13328	Cannot pickle a queryset with filter on field with callable default datetime.datetime.now	Brandon Konkle	nobody	"We're caching with memcached, and using django.core.cache to directly set cache values.  When we try to cache a queryset of blog entries with a `datetime__lte` filter, we get a !TypeError telling us that a string or Unicode object was expected, but a !NoneType was received instead.  I'm attaching an abbreviated example of the model and manager we're using, and the manage.py shell steps taken to reproduce the error along with the traceback it provides.

The error is related to line 6 of the attached models.py file - if I remove the `release_date__lte=datetime.datetime.now()` filter, the `cache.set` works without an issue."		closed	Database layer (models, ORM)	1.2-beta		fixed	pickle, queryset, datetime__lte	brandonkonkle@…	Accepted	1	0	0	0	0	0
