﻿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
11310	"Unable to serialize ManyToMany fields with ""trough"""	Pavel Schön <pavel@…>	nobody	"Problem is, that ManyToMany field with intermediate table is ignored in PythonSerializer. This patch should fix it.

{{{
http://code.djangoproject.com/svn/django/trunk/django/core/serializers/python.py
59,61c59,60
<         if field.creates_table:
<             self._current[field.name] = [smart_unicode(related._get_pk_val(), strings_only=True)
<                                for related in getattr(obj, field.name).iterator()]
---
>         self._current[field.name] = [smart_unicode(related._get_pk_val(), strings_only=True)
>             for related in getattr(obj, field.name).iterator()]
}}}
"		closed	Core (Serialization)	dev		worksforme	ManyToMany		Unreviewed	1	0	0	0	0	0
