django1/django
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
..
apps Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
bin Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
conf Also allowed a non-overridden setting to be deleted 2014-04-12 15:33:22 +02:00
contrib Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin. 2014-04-25 08:20:25 -04:00
core Fixed #3214 -- Stopped parsing SQL with regex. 2014-04-26 17:46:23 +02:00
db Fixed #3214 -- Stopped parsing SQL with regex. 2014-04-26 17:46:23 +02:00
dispatch Fixed many typos in comments and docstrings. 2014-03-03 07:38:09 -05:00
forms Refactored some code in SelectDateWidget. 2014-04-10 13:03:23 -04:00
http Replaced urllib/urlparse imports with from django.utils.six.moves. 2014-03-31 07:54:22 -04:00
middleware Prevented leaking the CSRF token through caching. 2014-04-21 18:11:26 -04:00
template Fixed #13408 -- Deprecated silent unpacking exception passing in for template tag. 2014-04-08 13:55:17 -04:00
templatetags Fixed #22306 -- Deprecated future versions of cycle and firstof template tags. 2014-03-28 18:55:06 -04:00
test Fixed #22465 -- New assertion assertJSONNotEqual 2014-04-18 15:11:08 +07:00
utils Use the stdlib's compare_digest for constant time comparisons when available 2014-04-22 14:45:00 -07:00
views Fixed #22306 -- Deprecated future versions of cycle and firstof template tags. 2014-03-28 18:55:06 -04:00
__init__.py Bumped version to reflect master is now pre-1.8. 2014-03-21 06:17:14 -04:00
shortcuts.py Moved relative URL handling added in refs #21177 to a better place. 2014-02-15 07:54:35 -05:00