Revert "Fixed #22401 -- Deprecated regular expression parsing of initial SQL in favor of installing sqlparse."

This reverts commit 071c933775.

This introduced a regression on MySQL and custom SQL is deprecated.
This commit is contained in:
Tim Graham 2014-04-16 21:03:22 -04:00
parent 66ec9ee441
commit 47927eb786
6 changed files with 13 additions and 48 deletions

View file

@ -103,14 +103,6 @@ directories.
Providing initial SQL data
==========================
.. deprecated:: 1.8
Historically this functionality has used regular expression parsing of the
initial SQL which is a bit buggy. This parsing is now deprecated in favor
of installing `sqlparse <https://pypi.python.org/pypi/sqlparse>`_; doing so
will be required for this functionality in Django 2.0. You can install it
using ``pip install sqlparse``.
Django provides a hook for passing the database arbitrary SQL that's executed
just after the CREATE TABLE statements when you run :djadmin:`migrate`. You can
use this hook to populate default records, or you could also create SQL