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.dev9.tar.gz (5.4 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.dev9-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_geowidgets-0.1.dev9.tar.gz
  • Upload date:
  • Size: 5.4 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.dev9.tar.gz
Algorithm Hash digest
SHA256 11b254dac448a240c2a08fcae887cfae95cf20c6a6cf17fa39615b090d5513d0
MD5 94e5326f2bbbeb973db8f591d833b10e
BLAKE2b-256 924a08ab1dfdf1b3327c5d15cd9062d750db75fc0576a11242b1164eff1fff54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_geowidgets-0.1.dev9-py3-none-any.whl
Algorithm Hash digest
SHA256 7baf0478f985e72e31f406720bb585dda371cb34c044d15e11db484cafa63b26
MD5 d6e79dfbbf00ffcfbf8303bb7056fc7d
BLAKE2b-256 1b2472acdfa6ccf9e18107adc1f272e9c4e6dbb40e2ecea3abcc20bf134aef48

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