Set the app label on all test models.

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

Information

Django Evolution
master

Reviewers

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.

Summary ID
Set the app label on all test models.
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.
f73ce739fba392307122813c62f33101f4c9a4c5
chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (05936ea)
Loading...