Simple widgets for GeoDjango
Project description
django-geowidgets
Currently this only contains LatLonWidget and LatLonField. LatLonWidget is a simple MultiWidget showing latitude and longitude. LatLonField is a form field that by default uses LatLonWidget.
from django import forms from geowidgets import LatLonField from . import models class MyForm(forms.ModelForm): location = LatLonField( label="Co-ordinates", help_text="Longitude and latitude in decimal degrees", ) class Meta: model = models.MyModel
django-geowidgets is free software, available under the GNU General Public License v3. See the LICENCE file for details.
History
0.1.0 (2019-08-13)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django_geowidgets-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 543c2c418608ff9aa79d5b7275a7892942004241ef7c454ee172e8b94aa48a92 |
|
MD5 | 43b3d64f80fe2d54c2fe4cc7daa14fe6 |
|
BLAKE2b-256 | af835ff9fd11c856329666bc53c7698a28a865bd33e2e57144f3b26fbfdd6ce4 |