django-geowidgets-0.1.1
توضیحات
Simple widgets for GeoDjango
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | django-geowidgets-0.1.1 |
| نام | django-geowidgets |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Antonis Christofides |
| ایمیل نویسنده | antonis@antonischristofides.com |
| آدرس صفحه اصلی | https://github.com/openmeteo/django-geowidgets |
| آدرس اینترنتی | https://pypi.org/project/django-geowidgets/ |
| مجوز | GNU General Public License v3 |
=================
django-geowidgets
=================
.. image:: https://img.shields.io/pypi/v/django-geowidgets.svg
:target: https://pypi.python.org/pypi/django-geowidgets
.. image:: https://img.shields.io/travis/openmeteo/django-geowidgets.svg
:target: https://travis-ci.org/openmeteo/django-geowidgets
.. image:: https://codecov.io/github/openmeteo/django-geowidgets/coverage.svg
:target: https://codecov.io/gh/openmeteo/django-geowidgets
:alt: Coverage
.. image:: https://pyup.io/repos/github/openmeteo/django-geowidgets/shield.svg
:target: https://pyup.io/repos/github/openmeteo/django-geowidgets/
:alt: 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.1 (2021-04-08)
==================
- Updated requirements so that it is compatible with Django 3.
0.1.0 (2019-08-13)
==================
- Initial release.
نیازمندی
| مقدار | نام |
|---|---|
| <4,>=1.11 | django |
نحوه نصب
نصب پکیج whl django-geowidgets-0.1.1:
pip install django-geowidgets-0.1.1.whl
نصب پکیج tar.gz django-geowidgets-0.1.1:
pip install django-geowidgets-0.1.1.tar.gz