mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Advanced deprecation warnings for Django 1.7.
This commit is contained in:
parent
8b9b8d3bda
commit
acd7b34aaf
41 changed files with 80 additions and 81 deletions
|
@ -109,7 +109,7 @@ def setup(verbosity, test_labels):
|
|||
|
||||
# Load all the ALWAYS_INSTALLED_APPS.
|
||||
with warnings.catch_warnings():
|
||||
warnings.filterwarnings('ignore', 'django.contrib.comments is deprecated and will be removed before Django 1.8.', PendingDeprecationWarning)
|
||||
warnings.filterwarnings('ignore', 'django.contrib.comments is deprecated and will be removed before Django 1.8.', DeprecationWarning)
|
||||
get_apps()
|
||||
|
||||
# Load all the test model apps.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue