mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Deprecated legacy GeoManager/GeoQuerySet methods
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user