djangocms-googlemap


Namedjangocms-googlemap JSON
Version 2.2.0 PyPI version JSON
download
home_pagehttps://github.com/django-cms/djangocms-googlemap
SummaryAdds Google Maps plugins to django CMS.
upload_time2023-12-05 17:49:27
maintainerDjango CMS Association and contributors
docs_urlNone
authorDivio AG
requires_python
licenseBSD-3-Clause
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            =====================
django CMS Google Map
=====================

|pypi| |build| |coverage|

**django CMS Google Map** is a set of plugins for `django CMS <http://django-cms.org>`_
that allow you to implement `Google Map <https://developers.google.com/maps/>`_ into your website.

This addon is compatible with `Divio Cloud <http://divio.com>`_ and is also available on the
`django CMS Marketplace <https://marketplace.django-cms.org/en/addons/browse/djangocms-googlemap/>`_
for easy installation.

.. image:: preview.gif


Contributing
============

This is a an open-source project. We'll be delighted to receive your
feedback in the form of issues and pull requests. Before submitting your
pull request, please review our `contribution guidelines
<http://docs.django-cms.org/en/latest/contributing/index.html>`_.

We're grateful to all contributors who have helped create and maintain this package.
Contributors are listed at the `contributors <https://github.com/divio/djangocms-googlemap/graphs/contributors>`_
section.

One of the easiest contributions you can make is helping to translate this addon on
`Transifex <https://www.transifex.com/projects/p/djangocms-googlemap/>`_.


Documentation
=============

See ``REQUIREMENTS`` in the `setup.py <https://github.com/divio/djangocms-googlemap/blob/master/setup.py>`_
file for additional dependencies:

|python| |django| |djangocms|

* Django Filer 1.7 or higher

Make sure `django-filer <http://django-filer.readthedocs.io/en/latest/installation.html>`_
is installed and configured appropriately.


Installation
------------

For a manual install:

* run ``pip install djangocms-googlemap``
* add ``djangocms_googlemap`` to your ``INSTALLED_APPS``
* run ``python manage.py migrate djangocms_googlemap``


Configuration
-------------

django CMS Google Map **requires** an
`API key from Google <https://developers.google.com/maps/documentation/javascript/get-api-key>`_,
that needs to be supplied in your Django settings: ::

    DJANGOCMS_GOOGLEMAP_API_KEY = ''

Note that the provided templates are minimal by design. You are encouraged
to adapt and override them to your project's requirements. The included
demo JavaScript does not require jQuery or any other 3rd party library
other than Google Maps own Maps JavaScript API, which will be loaded automatically.

This addon provides a ``default`` template for all instances. You can provide
additional template choices by adding a ``DJANGOCMS_GOOGLEMAP_TEMPLATES``
setting::

    DJANGOCMS_GOOGLEMAP_TEMPLATES = [
        ('feature', _('Featured Version')),
    ]

You'll need to create the `feature` folder inside ``templates/djangocms_googlemap/``
otherwise you will get a *template does not exist* error. You can do this by
copying the ``default`` folder inside that directory and renaming it to
``feature``.

For more details on customizing maps see Google `Maps JavaScript API <https://developers.google.com/maps/documentation/javascript/overview>`_
documentation, as well as default templates in ``templates/djangocms_googlemap/default`` of
**django CMS Google Map** plugin for options supported by this plugin.

Running Tests
-------------

You can run tests by executing::

    virtualenv env
    source env/bin/activate
    pip install -r tests/requirements.txt
    python setup.py test


.. |pypi| image:: https://badge.fury.io/py/djangocms-googlemap.svg
    :target: http://badge.fury.io/py/djangocms-googlemap
.. |build| image:: https://travis-ci.org/divio/djangocms-googlemap.svg?branch=master
    :target: https://travis-ci.org/divio/djangocms-googlemap
.. |coverage| image:: https://codecov.io/gh/divio/djangocms-googlemap/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/divio/djangocms-googlemap

.. |python| image:: https://img.shields.io/badge/python-3.5+-blue.svg
    :target: https://pypi.org/project/djangocms-googlemap/
.. |django| image:: https://img.shields.io/badge/django-2.2,%203.0,%203.1-blue.svg
    :target: https://www.djangoproject.com/
.. |djangocms| image:: https://img.shields.io/badge/django%20CMS-3.7%2B-blue.svg
    :target: https://www.django-cms.org/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/django-cms/djangocms-googlemap",
    "name": "djangocms-googlemap",
    "maintainer": "Django CMS Association and contributors",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "info@django-cms.org",
    "keywords": "",
    "author": "Divio AG",
    "author_email": "info@divio.com",
    "download_url": "https://files.pythonhosted.org/packages/67/9f/499e6df0969723fba8dad62787dada4fad5128814c2e97ba8306edf8af27/djangocms-googlemap-2.2.0.tar.gz",
    "platform": null,
    "description": "=====================\ndjango CMS Google Map\n=====================\n\n|pypi| |build| |coverage|\n\n**django CMS Google Map** is a set of plugins for `django CMS <http://django-cms.org>`_\nthat allow you to implement `Google Map <https://developers.google.com/maps/>`_ into your website.\n\nThis addon is compatible with `Divio Cloud <http://divio.com>`_ and is also available on the\n`django CMS Marketplace <https://marketplace.django-cms.org/en/addons/browse/djangocms-googlemap/>`_\nfor easy installation.\n\n.. image:: preview.gif\n\n\nContributing\n============\n\nThis is a an open-source project. We'll be delighted to receive your\nfeedback in the form of issues and pull requests. Before submitting your\npull request, please review our `contribution guidelines\n<http://docs.django-cms.org/en/latest/contributing/index.html>`_.\n\nWe're grateful to all contributors who have helped create and maintain this package.\nContributors are listed at the `contributors <https://github.com/divio/djangocms-googlemap/graphs/contributors>`_\nsection.\n\nOne of the easiest contributions you can make is helping to translate this addon on\n`Transifex <https://www.transifex.com/projects/p/djangocms-googlemap/>`_.\n\n\nDocumentation\n=============\n\nSee ``REQUIREMENTS`` in the `setup.py <https://github.com/divio/djangocms-googlemap/blob/master/setup.py>`_\nfile for additional dependencies:\n\n|python| |django| |djangocms|\n\n* Django Filer 1.7 or higher\n\nMake sure `django-filer <http://django-filer.readthedocs.io/en/latest/installation.html>`_\nis installed and configured appropriately.\n\n\nInstallation\n------------\n\nFor a manual install:\n\n* run ``pip install djangocms-googlemap``\n* add ``djangocms_googlemap`` to your ``INSTALLED_APPS``\n* run ``python manage.py migrate djangocms_googlemap``\n\n\nConfiguration\n-------------\n\ndjango CMS Google Map **requires** an\n`API key from Google <https://developers.google.com/maps/documentation/javascript/get-api-key>`_,\nthat needs to be supplied in your Django settings: ::\n\n    DJANGOCMS_GOOGLEMAP_API_KEY = ''\n\nNote that the provided templates are minimal by design. You are encouraged\nto adapt and override them to your project's requirements. The included\ndemo JavaScript does not require jQuery or any other 3rd party library\nother than Google Maps own Maps JavaScript API, which will be loaded automatically.\n\nThis addon provides a ``default`` template for all instances. You can provide\nadditional template choices by adding a ``DJANGOCMS_GOOGLEMAP_TEMPLATES``\nsetting::\n\n    DJANGOCMS_GOOGLEMAP_TEMPLATES = [\n        ('feature', _('Featured Version')),\n    ]\n\nYou'll need to create the `feature` folder inside ``templates/djangocms_googlemap/``\notherwise you will get a *template does not exist* error. You can do this by\ncopying the ``default`` folder inside that directory and renaming it to\n``feature``.\n\nFor more details on customizing maps see Google `Maps JavaScript API <https://developers.google.com/maps/documentation/javascript/overview>`_\ndocumentation, as well as default templates in ``templates/djangocms_googlemap/default`` of\n**django CMS Google Map** plugin for options supported by this plugin.\n\nRunning Tests\n-------------\n\nYou can run tests by executing::\n\n    virtualenv env\n    source env/bin/activate\n    pip install -r tests/requirements.txt\n    python setup.py test\n\n\n.. |pypi| image:: https://badge.fury.io/py/djangocms-googlemap.svg\n    :target: http://badge.fury.io/py/djangocms-googlemap\n.. |build| image:: https://travis-ci.org/divio/djangocms-googlemap.svg?branch=master\n    :target: https://travis-ci.org/divio/djangocms-googlemap\n.. |coverage| image:: https://codecov.io/gh/divio/djangocms-googlemap/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/divio/djangocms-googlemap\n\n.. |python| image:: https://img.shields.io/badge/python-3.5+-blue.svg\n    :target: https://pypi.org/project/djangocms-googlemap/\n.. |django| image:: https://img.shields.io/badge/django-2.2,%203.0,%203.1-blue.svg\n    :target: https://www.djangoproject.com/\n.. |djangocms| image:: https://img.shields.io/badge/django%20CMS-3.7%2B-blue.svg\n    :target: https://www.django-cms.org/\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "Adds Google Maps plugins to django CMS.",
    "version": "2.2.0",
    "project_urls": {
        "Homepage": "https://github.com/django-cms/djangocms-googlemap"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dc11b0f8ff4f2feb15f8f4be05dad244a7b8240c2a073c4053bae3fdc078308b",
                "md5": "e4de5257476a0f37005e090ff7636c26",
                "sha256": "b9c00b9eeb5a62fe17627f03aefb8956c3d82c581571c86d079b805d998cb029"
            },
            "downloads": -1,
            "filename": "djangocms_googlemap-2.2.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e4de5257476a0f37005e090ff7636c26",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 219021,
            "upload_time": "2023-12-05T17:49:26",
            "upload_time_iso_8601": "2023-12-05T17:49:26.156801Z",
            "url": "https://files.pythonhosted.org/packages/dc/11/b0f8ff4f2feb15f8f4be05dad244a7b8240c2a073c4053bae3fdc078308b/djangocms_googlemap-2.2.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "679f499e6df0969723fba8dad62787dada4fad5128814c2e97ba8306edf8af27",
                "md5": "68bf4be7e4dd59f18c8e5a56dc71e648",
                "sha256": "b9a38b3f60892f1426e255574e9efb6ea272e8fcf0c52c3f3d15f3b186fd174a"
            },
            "downloads": -1,
            "filename": "djangocms-googlemap-2.2.0.tar.gz",
            "has_sig": false,
            "md5_digest": "68bf4be7e4dd59f18c8e5a56dc71e648",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 47867,
            "upload_time": "2023-12-05T17:49:27",
            "upload_time_iso_8601": "2023-12-05T17:49:27.832611Z",
            "url": "https://files.pythonhosted.org/packages/67/9f/499e6df0969723fba8dad62787dada4fad5128814c2e97ba8306edf8af27/djangocms-googlemap-2.2.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-05 17:49:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "django-cms",
    "github_project": "djangocms-googlemap",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "djangocms-googlemap"
}
        
Elapsed time: 0.22041s