===============================================
Django simple geoposition field with OSM widget
===============================================
|codecov| |version| |downloads| |license|
This package adds geoposition field with map widget to django. It don't deppend
on GIS extensions.
Install
-------
.. code:: bash
pip install django-easy-geoposition-field
Usage
-----
Add ``django_geoposition_field`` to ``INSTALLED_APPS``.
.. code:: python
# settings.py
INSTALLED_APPS = (
# ...
'django_geoposition_field',
)
Now you can add ``GeopositionField`` to your model:
.. code:: python
# models.py
from django_geoposition_field.fields import GeopositionField
class Model(models.Model):
position = GeopositionField()
.. image:: https://raw.github.com/wiki/mireq/django-geoposition-field/admin.png?v2022-12-24
.. |codecov| image:: https://codecov.io/gh/mireq/django-geoposition-field/branch/master/graph/badge.svg?token=T801PBRI31
:target: https://codecov.io/gh/mireq/django-geoposition-field
.. |version| image:: https://badge.fury.io/py/django-easy-geoposition-field.svg
:target: https://pypi.python.org/pypi/django-easy-geoposition-field/
.. |downloads| image:: https://img.shields.io/pypi/dw/django-easy-geoposition-field.svg
:target: https://pypi.python.org/pypi/django-easy-geoposition-field/
.. |license| image:: https://img.shields.io/pypi/l/django-easy-geoposition-field.svg
:target: https://pypi.python.org/pypi/django-easy-geoposition-field/
Raw data
{
"_id": null,
"home_page": "",
"name": "django-easy-geoposition-field",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "geoposition,widget,django,field",
"author": "",
"author_email": "Miroslav Bend\u00edk <miroslav.bendik@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/f9/3d/d59ce05f577e34e223af7f116d361003d4ff1c80683b9f1bff212dcfd097/django_easy_geoposition_field-1.0.2.tar.gz",
"platform": null,
"description": "===============================================\nDjango simple geoposition field with OSM widget\n===============================================\n\n|codecov| |version| |downloads| |license|\n\nThis package adds geoposition field with map widget to django. It don't deppend\non GIS extensions.\n\nInstall\n-------\n\n.. code:: bash\n\n\tpip install django-easy-geoposition-field\n\nUsage\n-----\n\nAdd ``django_geoposition_field`` to ``INSTALLED_APPS``.\n\n.. code:: python\n\n\t# settings.py\n\tINSTALLED_APPS = (\n\t\t# ...\n\t\t'django_geoposition_field',\n\t)\n\nNow you can add ``GeopositionField`` to your model:\n\n.. code:: python\n\n\t# models.py\n\tfrom django_geoposition_field.fields import GeopositionField\n\n\tclass Model(models.Model):\n\t\tposition = GeopositionField()\n\n\n.. image:: https://raw.github.com/wiki/mireq/django-geoposition-field/admin.png?v2022-12-24\n\n\n.. |codecov| image:: https://codecov.io/gh/mireq/django-geoposition-field/branch/master/graph/badge.svg?token=T801PBRI31\n\t:target: https://codecov.io/gh/mireq/django-geoposition-field\n\n.. |version| image:: https://badge.fury.io/py/django-easy-geoposition-field.svg\n\t:target: https://pypi.python.org/pypi/django-easy-geoposition-field/\n\n.. |downloads| image:: https://img.shields.io/pypi/dw/django-easy-geoposition-field.svg\n\t:target: https://pypi.python.org/pypi/django-easy-geoposition-field/\n\n.. |license| image:: https://img.shields.io/pypi/l/django-easy-geoposition-field.svg\n\t:target: https://pypi.python.org/pypi/django-easy-geoposition-field/\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Django simple geoposition field with OSM widget",
"version": "1.0.2",
"split_keywords": [
"geoposition",
"widget",
"django",
"field"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "61eaccef40429d804b2b25311ce67066",
"sha256": "e780472d54ccb45229f6281405f242ebaa459f8f6f42686700cefe462ce0e478"
},
"downloads": -1,
"filename": "django_easy_geoposition_field-1.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "61eaccef40429d804b2b25311ce67066",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 153605,
"upload_time": "2022-12-31T08:42:09",
"upload_time_iso_8601": "2022-12-31T08:42:09.624587Z",
"url": "https://files.pythonhosted.org/packages/f1/48/2f21f155a75cfa92b35457accb48fba07f30a908a55049deeb2d2a1510df/django_easy_geoposition_field-1.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "dc1cb8f9193a4aed17c82cc7aa20871c",
"sha256": "83d796b71c1444acaa6f41d844e65d8ad3a97660fc1990a72ba059ed859cd08a"
},
"downloads": -1,
"filename": "django_easy_geoposition_field-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "dc1cb8f9193a4aed17c82cc7aa20871c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 161671,
"upload_time": "2022-12-31T08:42:11",
"upload_time_iso_8601": "2022-12-31T08:42:11.844436Z",
"url": "https://files.pythonhosted.org/packages/f9/3d/d59ce05f577e34e223af7f116d361003d4ff1c80683b9f1bff212dcfd097/django_easy_geoposition_field-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-31 08:42:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "django-easy-geoposition-field"
}