﻿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
21487	Incorrect documentation on using timezones and session in 1.6	filipp	nobody	"The 1.6 documentation on using Time zones (https://docs.djangoproject.com/en/1.6/topics/i18n/timezones/)  says it's OK to do this:

{{{
request.session['django_timezone'] = pytz.timezone(request.POST['timezone'])
}}}

However that does not work since 1.6 with the default session serializer (serializers.JSONSerializer), resulting instead in a crash (TypeError), similar to this:

{{{
<DstTzInfo 'Europe/Stockholm' CET+1:00:00 STD> is not JSON serializable
}}}

Would be nice if the 1.6 documentation was be updated to say how this should be done since 1.6.
"	Bug	closed	Documentation	1.6	Normal	fixed	session, timezone, json		Accepted	0	0	0	0	1	0
