django/docs/ref
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
..
class-based-views Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. 2014-04-16 20:36:29 -04:00
contrib Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
files Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
forms Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. 2014-04-16 20:36:29 -04:00
models Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection 2014-04-25 09:54:49 -04:00
templates Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
applications.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
checks.txt Fixed #22356 -- Added a check to make sure unique_together fields are local. 2014-04-14 16:49:40 -04:00
clickjacking.txt Removed versionadded/changed annotations for 1.6. 2014-03-24 11:42:56 -04:00
databases.txt Various documentation typo/spelling fixes 2014-04-23 02:31:49 +03:00
django-admin.txt Fixed #22328 -- Added --exclude option to compilemessages and makemessages. 2014-04-26 17:07:44 +07:00
exceptions.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
index.txt
middleware.txt Added RemoteUserMiddleware to middleware reference page. 2014-04-16 07:22:15 -04:00
migration-operations.txt Fixed #3214 -- Stopped parsing SQL with regex. 2014-04-26 17:46:23 +02:00
request-response.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
schema-editor.txt Improve migrations/schema docs 2014-04-14 13:07:02 -04:00
settings.txt Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs 2014-04-13 18:52:43 -04:00
signals.txt Fixed #22029 -- Removed obsolete advice on registering migrate/syncdb signal handlers. 2014-03-26 10:39:52 -04:00
template-response.txt
unicode.txt Corrected the section identifier for MySQL unicode reference. 2014-04-21 13:19:46 -04:00
urlresolvers.txt Fixed #22220 -- Added more examples to reverse() documention. 2014-04-16 20:29:17 -04:00
urls.txt Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests. 2014-04-16 20:36:29 -04:00
utils.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
validators.txt Updated doc links to point to Python 3 documentation 2014-04-26 16:02:53 +02:00
views.txt Fixed #22218 -- Deprecated django.conf.urls.patterns. 2014-04-03 07:28:10 -04:00