Skip to content

Commit 489f087

Browse files
committed
Stop relying on PickleSerializer
PickleSerializer has security holes and is deprecated. It is removed in Django 5. Fixes #348
1 parent 534edce commit 489f087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cppquiz/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
},
180180
}
181181

182-
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
182+
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
183183

184184
TOP_WARNING = ''
185185

0 commit comments

Comments
 (0)