django/docs/internals/contributing/writing-code
Aymeric Augustin 8b5b199e20 Fixed #3214 -- Stopped parsing SQL with regex.
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.

Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.

sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.

Many people contributed to both tickets, thank you all, and especially
Claude for the review.

Refs #22401.
2014-04-26 17:46:23 +02:00
..
coding-style.txt Various documentation typo/spelling fixes 2014-04-23 02:31:49 +03:00
index.txt Fixed #18436 -- Updated contributing docs for git. 2012-06-07 18:54:43 +02:00
submitting-patches.txt Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
unit-tests.txt Fixed #3214 -- Stopped parsing SQL with regex. 2014-04-26 17:46:23 +02:00
working-with-git.txt Documentation -- added instructions on working with pull requests 2013-09-13 08:26:46 -04:00