Ensure compatibility patches are only applied once.

Review Request #11899 — Created Jan. 2, 2022 and submitted — Latest diff uploaded

Information

Django Evolution
release-2.x

Reviewers

apply_patches() can technically be called more than once, which could
result in some bad patches. As a precaution, it now checks if it's been
called before, and if so, it bails.

Unit tests pass.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Ensure compatibility patches are only applied once.
`apply_patches()` can technically be called more than once, which could result in some bad patches. As a precaution, it now checks if it's been called before, and if so, it bails.
2ddb7d435c2b334c180ada6e3a003df7c69b6258 Christian Hammond
django_evolution/compat/patches/__init__.py
Loading...