1 Welcome to django-utrechtstijl's documentation!
Source: | https://github.com/GemeenteUtrecht/django-utrechtstijl |
---|---|
Keywords: |
templates , HTML , CSS
|
PythonVersion: | 3.7 |
The Utrecht web style as Django tmeplates and assets
Contents
The styles are taken from https://github.com/GemeenteUtrecht/Designs
2 Features
- Re-useable/extensible templates
- Form widgets library
3 Installation
3.1 Requirements
- Python 3.7 or above
- setuptools 30.3.0 or above
- Django 2.2 or above
3.2 Install
pip install django-utrechtstijl
Add to your INSTALLED_APPS
setting:
INSTALLED_APPS = [
...,
"django.contrib.staticfiles",
"sniplates",
"django_utrechtstijl",
...
]
4 Usage
Extend and/or include the templates that ship with the project.
By default, the utrechtstijl/css/screen.css
stylesheet is loaded. You can
customize this with the context variable CSS_MAIN
.