Debian Codegraph @

docs/ref/contrib/gis/admin.txt

raw
1 ======================
2 GeoDjango's admin site
3 ======================
4
5 .. module:: django.contrib.gis.admin
6 :synopsis: GeoDjango's extensions to the admin site.
7
8 ``GISModelAdmin``
9 =================
10
11 .. class:: GISModelAdmin
12
13 .. attribute:: gis_widget
14
15 The widget class to be used for
16 :class:`~django.contrib.gis.db.models.GeometryField`. Defaults to
17 :class:`~django.contrib.gis.forms.widgets.OSMWidget`.
18
19 .. attribute:: gis_widget_kwargs
20
21 The keyword arguments that would be passed to the :attr:`gis_widget`.
22 Defaults to an empty dictionary.