Commit 6e895f9e authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Removed superfluous models.py files.

Added comments in the three empty models.py files that are still needed.

Adjusted the test runner to add applications corresponding to test
labels to INSTALLED_APPS even when they don't have a models module.
parent 4a56a93c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
# Empty models.py to allow for specifying admindocs as a test label.
+2 −1
Original line number Diff line number Diff line
""" models.py (even empty) currently required by the runtests.py to enable unit tests """
# This file is required to pretend formtools has models.
# Otherwise test models cannot be registered.

django/contrib/humanize/models.py

deleted100644 → 0
+0 −0

Empty file deleted.

django/contrib/messages/models.py

deleted100644 → 0
+0 −1
Original line number Diff line number Diff line
# Models module required so tests are discovered.
+2 −1
Original line number Diff line number Diff line
# This file intentionally left blank
# This file is required to pretend sitemaps has models.
# Otherwise test models cannot be registered.
Loading