Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gunthercox/django-bootstrap-base-template
A common base template for Django web apps using Bootstrap
https://github.com/gunthercox/django-bootstrap-base-template
bootstrap django
Last synced: 20 days ago
JSON representation
A common base template for Django web apps using Bootstrap
- Host: GitHub
- URL: https://github.com/gunthercox/django-bootstrap-base-template
- Owner: gunthercox
- License: bsd-2-clause
- Created: 2017-09-05T21:47:23.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-03T16:17:28.000Z (3 months ago)
- Last Synced: 2024-10-14T12:44:35.116Z (about 1 month ago)
- Topics: bootstrap, django
- Language: Python
- Size: 877 KB
- Stars: 19
- Watchers: 3
- Forks: 82
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# django-bootstrap-base-template
A common base template for Django web apps using Bootstrap
## Why?
I created this package because every time I start a new Django
web application it requires me to set up a very similar directory
structure for templates and static files. This Bootstrap base
template lets me quickly start a new Django project with all of
the assets I need already included.Additionally, this package simplifies the process of updating the
static files used by multiple projects.## Installation
```
pip install django-bootstrap-base-template
```## Django settings.py
```
INSTALLED_APPS = [
# ...
'django_bootstrap_base_template',
# ...
]
```## my_template.html
```
{% extends 'bootstrap_base.html' %}{% block body %}
{% endblock %}
```