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.
Release files for django-geowidgets 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_geowidgets-1.0.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_geowidgets-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.4 kB
Release files / django_geowidgets-1.0.0.tar.gz
| Download URL | django_geowidgets-1.0.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
847a8ee126cb70e3c08fb8c2c73c1ea3a3804bcfc12c28fc30127fd7f9178aaa
|
|
BLAKE2b-256 checksum How to use checksums |
59a25e23ebb2e013f05dcad7ce1189f4138eace60d43b2d6404e787846d1aa01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / django_geowidgets-1.0.0-py3-none-any.whl
| Download URL | django_geowidgets-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5560c0c4ded6cec41b8b3b22d211f839ab456d30d4b46dcfcda1b12549ec5865
|
|
BLAKE2b-256 checksum How to use checksums |
f3ba3004b9f1171cf9dccd704740ec4fc6be888d69cdfc8747163856a5a80fca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|