mirror of
https://github.com/django/django.git
synced 2025-11-02 12:58:56 +00:00
Deprecated legacy GeoManager/GeoQuerySet methods
This commit is contained in:
parent
71e20814fc
commit
ea27e26b09
10 changed files with 70 additions and 9 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue