Skip to main content

Simple widgets for GeoDjango

Project description

https://img.shields.io/pypi/v/django-geowidgets.svg Build button Coverage

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_geowidgets-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_geowidgets-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file django_geowidgets-1.0.0.tar.gz.

File metadata

  • Download URL: django_geowidgets-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for django_geowidgets-1.0.0.tar.gz
Algorithm Hash digest
SHA256 847a8ee126cb70e3c08fb8c2c73c1ea3a3804bcfc12c28fc30127fd7f9178aaa
MD5 10840603c8bc6fa753fe0b1af084e0e7
BLAKE2b-256 59a25e23ebb2e013f05dcad7ce1189f4138eace60d43b2d6404e787846d1aa01

See more details on using hashes here.

File details

Details for the file django_geowidgets-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_geowidgets-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5560c0c4ded6cec41b8b3b22d211f839ab456d30d4b46dcfcda1b12549ec5865
MD5 442d666e348a48d9a939fe2381f0dc81
BLAKE2b-256 f3ba3004b9f1171cf9dccd704740ec4fc6be888d69cdfc8747163856a5a80fca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page