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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: django_js_lib_leaflet-1.9.4.1.tar.gz
  • Upload date:
  • Size: 677.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

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 Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page