mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Fixed #27674 -- Deprecated GeoModelAdmin and OSMGeoAdmin.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
b5bf026813
commit
4555aa0a48
@@ -3,4 +3,6 @@ try:
|
||||
except ImportError:
|
||||
from django.contrib import admin
|
||||
|
||||
admin.GISModelAdmin = admin.ModelAdmin
|
||||
# RemovedInDjango50Warning.
|
||||
admin.OSMGeoAdmin = admin.ModelAdmin
|
||||
|
||||
Reference in New Issue
Block a user