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-0.1.dev6.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-0.1.dev6-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file django_geowidgets-0.1.dev6.tar.gz.

File metadata

  • Download URL: django_geowidgets-0.1.dev6.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-0.1.dev6.tar.gz
Algorithm Hash digest
SHA256 6bd92983c5f60c7372458241fa03f76329ac08d09e307c006550ee869d5f9b2f
MD5 97544a20e8031c314bc83a73d034dba3
BLAKE2b-256 bc22c1f83c895a568d6e67fca3cfc99ebe19954d5d74c7ab7f1a5c20f14bed49

See more details on using hashes here.

File details

Details for the file django_geowidgets-0.1.dev6-py3-none-any.whl.

File metadata

File hashes

Hashes for django_geowidgets-0.1.dev6-py3-none-any.whl
Algorithm Hash digest
SHA256 a2f58626ccf68d2ca185103d4f39036eafcb9cf380148642dc371bc3789327d4
MD5 27ac17ad4b7a314cd38f4c0af3be07d0
BLAKE2b-256 047c504951dfeb69fe2cb2f67190bacbc8765f09940459709e033fbccf6977a9

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