Skip to main content

The Utrecht web style as Django tmeplates and assets

Project description

1 Welcome to django-utrechtstijl’s documentation!

Source:

https://github.com/GemeenteUtrecht/django-utrechtstijl

Keywords:

templates, HTML, CSS

PythonVersion:

3.7

build-status Coverage status black

python-versions django-versions pypi-version

The Utrecht web style as Django tmeplates and assets

<nav class="contents" id="contents">

Contents

</nav>

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.

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

django-utrechtstijl-0.2.0.tar.gz (518.6 kB view hashes)

Uploaded source

Built Distribution

django_utrechtstijl-0.2.0-py3-none-any.whl (577.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page