mirror of https://github.com/django/django.git
Fixed previous commit. (Don't commit from DjangCon!)
This commit is contained in:
parent
f6d1ca56c9
commit
ebfb71c64a
|
@ -31,8 +31,6 @@ class GeoAdminTest(TestCase):
|
|||
|
||||
def test_olmap_WMS_rendering(self):
|
||||
geoadmin = admin.GeoModelAdmin(City, admin.site)
|
||||
|
||||
geoadmin = admin.site._registry[City]
|
||||
result = geoadmin.get_map_widget(City._meta.get_field('point'))(
|
||||
).render('point', Point(-79.460734, 40.18476))
|
||||
self.assertIn(
|
||||
|
|
Loading…
Reference in New Issue