﻿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
26717	Allow customizing stream attribute of Serializer for custom serializers	Berker Peksag	Berker Peksag	"Currently, `Serializer.serialize()` sets `self.stream` to `io.StringIO` if `stream` is not passed to `django.core.serializers.serializer()`: https://github.com/django/django/blob/31a9a965a36c5ce923692e5dac430ea6a1cbf2a0/django/core/serializers/base.py#L69

However, when implementing or using a custom serializer we either tell the users to pass `stream=io.BytesIO()` everytime they use it or need to make some unnecessary subclassing.

It would be nice to define a `Serializer.stream` attribute similar to `Serializer.progress_class`.

I noticed this while creating a msgpack serializer to understand what needs to be done in #15091.

I already have a patch to implement my proposal."	New feature	closed	Core (Serialization)	dev	Normal	fixed		Berker Peksag	Ready for checkin	1	0	0	0	0	0
