Django app that provides compiled Bootstrap assets
Project description
This package provides a Django app whose static folder contains the compiled assets of Bootstrap.
Each Bootstrap version will be tagged accordingly.
Setup
Install the app:
pip install django-bootstrap-staticfiles
Inlude it in your Django project:
# settings.py: INSTALLED_APPS = ( ... 'django_bootstrap_staticfiles', ... )
Make sure django.contrib.staticfiles.finders.AppDirectoriesFinder is in your list of STATICFILES_FINDERS.
Usage
If you’re not using an asset manager, you can just include them as usual in your site templates.:
{% load staticfiles %} ... <script type="text/javascript" src="{% static 'js/bootstrap.min.js' %}"></script> ...
Copyright and license
Copyright 2013 55 Minutes
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
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
File details
Details for the file django-bootstrap-staticfiles-3.0.0.1.tar.gz
.
File metadata
- Download URL: django-bootstrap-staticfiles-3.0.0.1.tar.gz
- Upload date:
- Size: 128.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0a1ed5b0b3bb8ef22c6020fa50412b760bcbb3a9ab9996e705b82928907453 |
|
MD5 | 518a0cdab5e2b817e4d6a40e61bc8d34 |
|
BLAKE2b-256 | efcf243ab60bcd16d2a409ad104ee2f3ce212efa775f37aedfc807c72e49c7d9 |