Skip to main content

Simple widgets for GeoDjango

Project description

django-geowidgets

https://img.shields.io/pypi/v/django-geowidgets.svg https://img.shields.io/travis/openmeteo/django-geowidgets.svg Coverage Updates

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.

History

0.1.2 (2024-04-22)

  • Updated requirements so that it is compatible with Django 4 and 5.

0.1.1 (2021-04-08)

  • Updated requirements so that it is compatible with Django 3.

0.1.0 (2019-08-13)

  • Initial release.

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.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

django_geowidgets-0.1.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file django-geowidgets-0.1.2.tar.gz.

File metadata

  • Download URL: django-geowidgets-0.1.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for django-geowidgets-0.1.2.tar.gz
Algorithm Hash digest
SHA256 63dfe0b316c3427bcb9740bd1df84c88b0ae5cd07728f99e0788a0c51e255ce7
MD5 2201e2839b5036ab876e48768ae35a92
BLAKE2b-256 1ac9e5d8cb0358ec6dc5b97dd0ec0057d3d517d61717425ef234833de59168c4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_geowidgets-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7dfe746a020329403d1a31ae528d69dec2591d4cdc72a005df1c0d54f77af406
MD5 1f14e2255093c35d943822f3bf64128d
BLAKE2b-256 1dd5fcaa4f4a28305b2aad872dca7128d1e066ec5defd084d962eebde913ccb3

See more details on using hashes here.

Supported by

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