﻿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
36033	Getting TypeError: cannot pickle 'dict_values' object  Error with Django 4.2.16	Bittu Ray		"I am using django-redis-cache 3.0.1 with Django 4.2.16, and I am getting this error in one of admin page - 
{{{
TypeError: cannot pickle 'dict_values' object
}}}

This same code is working when I use it with Django 3.2.25. The value for which I am getting this error is 


{{{
{
cls: <class 'django_select2.forms.ModelSelect2Widget'>,
max_results: 25,

queryset: [
<RecordQuerySet from business.models at 0xf8b2af2c1b50>,
<django.db.models.sql.query.Query object at 0xf8b2b7ed4940>
],

search_fields: [
""id__icontains"",
[Filtered],
""telecom_operator__icontains"",
""area_code__icontains"",
""cloud_telephony_operator__icontains""
],
url: ""/select2/fields/auto.json""
}
}}}


It's failing during Pickle serialization of the above value. 

"	Uncategorized	closed	Core (Cache system)	4.2	Normal	invalid	Django 4.2, Cache error, Redis Cache, Pickle		Unreviewed	0	0	0	0	0	0
