Skip to main content

Django application contain bootstrap static files.

Project description

Django application contain bootstrap static files.

Install

pip install django-static-bootstrap

Settings

INSTALLED_APPS = [
    ...
    "django_static_bootstrap",
    ...
]

Use static resource

{% load staticfiles %}

{% block style %}
    <link rel="stylesheet" href="{% static "bootstrap/css/bootstrap.min.css" %}">
    <link rel="stylesheet" href="{% static "bootstrap/css/bootstrap-theme.min.css" %}">
{% endblock %}

{% block script %}
    <script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script>
{% endblock %}

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-static-bootstrap-3.3.7.1.tar.gz (369.3 kB view details)

Uploaded Source

File details

Details for the file django-static-bootstrap-3.3.7.1.tar.gz.

File metadata

File hashes

Hashes for django-static-bootstrap-3.3.7.1.tar.gz
Algorithm Hash digest
SHA256 76f77f8cf3563a16f319685a20ab542b5ce6ace24e2e6a67996767919fb3232e
MD5 1d17454b1e242a2fe9409497b28b23a5
BLAKE2b-256 d010a008fb42dc9663df66456431d8df1e8eabb0f25242403ce593acd1d39434

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