﻿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
24723	Migration writer errors should be more informative	James Rivett-Carnac	nobody	"When squashing a set of migrations, the errors should be a bit more informative - such as 
giving a file/line number to where the originating offensive code is

An example is ValueError 'Cannot serialize function: lambda'

https://github.com/django/django/blob/1.7.7/django/db/migrations/writer.py#L360

- Note - I couldn't easily figure out what is being done here because the method is a bit long to keep context in my head.  I'm not sure if you have access to this information in this method.

"	Cleanup/optimization	closed	Migrations	dev	Normal	duplicate	Migrations, Exceptions		Accepted	0	0	0	0	0	0
