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.1 (2021-04-08)
Updated requirements so that it is compatible with Django 3.
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2611aa9778172befac97c56dbdf1c173c407187dfc1e913b3fc45aaaed7846c4 |
|
MD5 | bf42dd20f935b39b95587ac9448cae3f |
|
BLAKE2b-256 | e52e1e0c3e8d934b78524cb355e0f59acf6cd3f83af07117f38760e116f15fd1 |