Set the app label on all test models.

Review Request #10571 — Created May 30, 2019 and submitted — Latest diff uploaded

chipx86
Django Evolution
master
django-evolution

This introduces a new BaseTestModel that sets the app label,
preventing those models from being registered under the
django_evolution app. While we try to do this during the test app
setup phase, it doesn't catch the models that are simply defined within
tests, requiring that we set these correctly.

Unit tests pass on all supported versions.

Commits

Files

Loading...