﻿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
21892	"Remove ""string based"" RunPython operations."	loic84	Andrew Godwin <andrew@…>	"Example of ""string based"" RunPython operation:
{{{
# Create the operation
operation = migrations.RunPython(
    """"""
    Pony = models.get_model(""test_runpython"", ""Pony"")
    Pony.objects.create(pink=2, weight=4.55)
    Pony.objects.create(weight=1)
    """""",
)
}}}

This removal was discussed on IRC with Andrew, the rationale being that most Python tooling wouldn't be able to inspect this code and that it doesn't provide an obvious gain compared to callables.

Marking it as release blocker, since we should remove this feature before people start using it."	Cleanup/optimization	closed	Migrations	1.7-alpha-1	Release blocker	fixed			Accepted	0	0	0	0	0	0
