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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_geowidgets-0.1.dev7.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.dev7.tar.gz
Algorithm Hash digest
SHA256 403bbd151442c5c1d48ba6abe802f4e1f6427fe8ec0953de02000e3da4eb9046
MD5 2094539fe0ac678f6f802a487052183c
BLAKE2b-256 b030252887aeff25ac3ef99f74e7f646e42758dddacc62155ccaaf79a89f0e26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_geowidgets-0.1.dev7-py3-none-any.whl
Algorithm Hash digest
SHA256 86a73e04460ad9d07d7e12e8ed0419d64dedba8cb0988e9e715598bfc42141dc
MD5 f6dfbf3ab8e755ee8f2b31330c313f5a
BLAKE2b-256 553fac1e03f18505fea510a87c0aef7e8a1ae68ac50eaf0fa7c77333a252082c

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