Skip to main content

Leaflet Repackaged for Django

Project description

Leaflet JS Repackaged for Django

Leaflet JS packaged in a Django reusable app.

Installation

pip install django-js-lib-leaflet

Usage

  1. Add "js_lib_leaflet" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [
        ...
        "js_lib_leaflet",
        ...
    ]
    
  2. In your template use:

    {% load static %}
    

    ...

    <link rel="stylesheet" href="{%static "js_lib_leaflet/leaflet.css" %}">
    

    ...

    <script src="{%static "js_lib_leaflet/leaflet.js" %}"></script>
    

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_js_lib_leaflet-1.9.4.1.tar.gz (677.2 kB view details)

Uploaded Source

Built Distribution

django_js_lib_leaflet-1.9.4.1-py2.py3-none-any.whl (692.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django_js_lib_leaflet-1.9.4.1.tar.gz.

File metadata

File hashes

Hashes for django_js_lib_leaflet-1.9.4.1.tar.gz
Algorithm Hash digest
SHA256 3c9b1acbac179e044f1bc6c0b2c5e9c9e599d4145a52e9afa0f33a2344b7e95b
MD5 6cb6d64f31a9fcb75b0aca776384d743
BLAKE2b-256 d3875f89b52d1434c81e6eb5b1e4407fb6463aee367a6846cc550f8de05502f4

See more details on using hashes here.

File details

Details for the file django_js_lib_leaflet-1.9.4.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_js_lib_leaflet-1.9.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ca775a52be5c6aa33c164f7293c032fc50f617c6a5184bf71c2a608a743ccc33
MD5 93795c5b4af6452e68ab76e69e811dc9
BLAKE2b-256 82c4c6015af6d51b59d1bfa6aac267d4f4f70f893d63557b4ed477a611525959

See more details on using hashes here.

Supported by

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