mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
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.
This commit is contained in:
@@ -1 +0,0 @@
|
||||
# Empty models.py to allow for specifying admindocs as a test label.
|
||||
@@ -1 +1,2 @@
|
||||
""" 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.
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
# Models module required so tests are discovered.
|
||||
@@ -1 +1,2 @@
|
||||
# This file intentionally left blank
|
||||
# This file is required to pretend sitemaps has models.
|
||||
# Otherwise test models cannot be registered.
|
||||
|
||||
Reference in New Issue
Block a user