Fixed #23406 -- Allowed migrations to be loaded from .pyc files.

This commit is contained in:
Dan Watson 2018-03-15 15:32:56 -04:00 committed by Tim Graham
parent ee7f51c66d
commit 29150d5da8
5 changed files with 53 additions and 11 deletions

View file

@ -194,6 +194,8 @@ Migrations
* Added support for serialization of ``functools.partialmethod`` objects.
* To support frozen environments, migrations may be loaded from ``.pyc`` files.
Models
~~~~~~
@ -366,6 +368,9 @@ Miscellaneous
with such passwords from requesting a password reset. Audit your code to
confirm that your usage of these APIs don't rely on the old behavior.
* Since migrations are now loaded from ``.pyc`` files, you might need to delete
them if you're working in a mixed Python 2 and Python 3 environment.
.. _deprecated-features-2.1:
Features deprecated in 2.1