1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Deprecated legacy GeoManager/GeoQuerySet methods

This commit is contained in:
Claude Paroz
2015-01-29 20:12:08 +01:00
parent 71e20814fc
commit ea27e26b09
10 changed files with 70 additions and 9 deletions

View File

@@ -158,6 +158,11 @@ def setup(verbosity, test_labels):
'django.contrib.webdesign will be removed in Django 2.0.',
RemovedInDjango20Warning
)
warnings.filterwarnings(
'ignore',
'The GeoManager class is deprecated.',
RemovedInDjango21Warning
)
# Load all the ALWAYS_INSTALLED_APPS.
django.setup()