GeoDjango’s admin site¶
- class GeoModelAdmin¶
The default center longitude.
The default center latitude.
The default zoom level to use. Defaults to 18.
Width of the map, in pixels. Defaults to 600.
Height of the map, in pixels. Defaults to 400.
Defaults to True. When set to False, disables editing of existing geometry fields in the admin.
This is different from adding the geometry field to readonly_fields, which will only display the WKT of the geometry. Setting modifiable=False, actually displays the geometry in a map, but disables the ability to edit its vertices.
Having trouble? We'd like to help!
- Try the FAQ — it's got answers to many common questions.
- Search for information in the archives of the django-users mailing list, or post a question.
- Ask a question in the #django IRC channel, or search the IRC logs to see if it has been asked before.
- If you notice errors with this documentation, please open a ticket and let us know! Please only use the ticket tracker for criticisms and improvements on the docs. For tech support, use the resources above.