django-staticfiles-bootstrapTwitter Bootstrap staticfiles for Django | |
Download |
django-staticfiles-bootstrap Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Scott Rubin
- Publisher web site:
- http://github.com/apreche/
django-staticfiles-bootstrap Tags
django-staticfiles-bootstrap Description
django-staticfiles-bootstrap is a Django app that helps you to easily add Twitter bootstrap to your Django apps.Installation pip install django-staticfiles-bootstrapMake sure your django project is configured to use staticfiles, then add this to your INSTALLED_APPS INSTALLED_APPS += UsageYou can use this in two different ways in your templatesSTATIC_URL < link href="{{ STATIC_URL }}bootstrap/css/bootstrap.css" rel="stylesheet" > < script src="{{ STATIC_URL }}bootstrap/js/bootstrap.js" >< /script >static template tag {% load static from staticfiles %} < link href="{% static "bootstrap/css/bootstrap.min.css" %}" rel="stylesheet" >Product's homepage
django-staticfiles-bootstrap Related Software