Add support for Django 3.0.
Review Request #11095 — Created July 23, 2020 and submitted
This enables support for Django 3.0. There were only two major
difference between Django 2.2 and 3.0 that impacts Django Evolution:
- The removal of
django.utils.six
.- A change to the internal structure of applied migration lists in the
migration machinery, which we override in order to inject our own
state.Those were both primarily taken care of by the past two commits. This
commit builds upon the newMigrationList
class to transform to the
proper internal structure, depending on the version of Django.There's also a small change to the ordering of SQL statements generated
when constructing aManyToManyField
's intermediary table on MySQL and
Postgres, which just requires some shuffling in the SQL test mapping
files.Other than that, there isn't really anything left that's specific to
Django 3.0.The documentation and package dependencies have been updated to include
Django 3.0 support.
Unit tests pass for all supported versions of Python and Django.
Summary | ID |
---|---|
c63298fa23ae04f9f53b76430ec992dd71d9cf9e |
- Change Summary:
-
Updated the MySQL/Postgres SQL test files for SQL ordering changes for M2M intermediary tables.
- Description:
-
This enables support for Django 3.0. There were only two major
difference between Django 2.2 and 3.0 that impacts Django Evolution: - The removal of
django.utils.six
.
- A change to the internal structure of applied migration lists in the
migration machinery, which we override in order to inject our own
state.
Those were both primarily taken care of by the past two commits. This
commit builds upon the new MigrationList
class to transform to theproper internal structure, depending on the version of Django. + There's also a small change to the ordering of SQL statements generated
+ when constructing a ManyToManyField
's intermediary table on MySQL and+ Postgres, which just requires some shuffling in the SQL test mapping + files. + Other than that, there isn't really anything left that's specific to
Django 3.0. The documentation and package dependencies have been updated to include
Django 3.0 support. - The removal of
- Commits:
-
Summary ID 6c870ab0a18e7e3f4982a825a0c75aaee26cc7f3 c63298fa23ae04f9f53b76430ec992dd71d9cf9e