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
Close
Hashes for django-static-bootstrap-3.3.7.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76f77f8cf3563a16f319685a20ab542b5ce6ace24e2e6a67996767919fb3232e |
|
MD5 | 1d17454b1e242a2fe9409497b28b23a5 |
|
BLAKE2b-256 | d010a008fb42dc9663df66456431d8df1e8eabb0f25242403ce593acd1d39434 |