Basic tasteful designs for your Django project
Project description
Django Style
Basic tasteful designs for your Django project, with sensible defaults.
Features:
- Themes for plain CSS, Tailwind 4, and Bootstrap 5
- Mobile support
- App layout for content with a complex UI
- Basic menu support
This project won't replace a proper design, but can help make your prototypes pretty.
Pairs particularly well with nanodjango.
Example
To play with a live example, you can try the live demo, or download example.py and run with uv:
uvx --with django-style nanodjango run example.py
Quickstart
-
Install:
pip install django-style -
For Django: Add it to
INSTALLED_APPSin yoursettings.py, and optionally configure it:INSTALLED_APPS = [ ... "django_style", ] STYLE_THEME = "tailwind" # or "simple" (default) or "bootstrap" STYLE_IS_APP = True # enable app layout (default is False)For nanodjango: it will automatically add itself to INSTALLED_APPS; you can configure it using the
Djangoconstructor::app = Django(STYLE_THEME="tailwind") -
Extend
base.htmlin your templates:{% extends "base.html" %} {% block content %} <p>Hello world</p> {% endblock %}
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_style-0.3.2.tar.gz.
File metadata
- Download URL: django_style-0.3.2.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e6cadd5d845a0e9f83628f7eed55a79d27d62e01f3e56a6d0a2d445e6ddcf26
|
|
| MD5 |
d3a6017e2594a66060511e30e178c51c
|
|
| BLAKE2b-256 |
360bba66f803f769fcb239a10b365d53c4e8230e994b68cf1cd5d2bf2a584660
|
Provenance
The following attestation bundles were made for django_style-0.3.2.tar.gz:
Publisher:
pypi.yml on radiac/django-style
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_style-0.3.2.tar.gz -
Subject digest:
2e6cadd5d845a0e9f83628f7eed55a79d27d62e01f3e56a6d0a2d445e6ddcf26 - Sigstore transparency entry: 1416728116
- Sigstore integration time:
-
Permalink:
radiac/django-style@73c120840d5b6d76ede0bd1fe1ec4368dc118f9f -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/radiac
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@73c120840d5b6d76ede0bd1fe1ec4368dc118f9f -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_style-0.3.2-py3-none-any.whl.
File metadata
- Download URL: django_style-0.3.2-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bf1a42658bf36d6bb43c62afb8001b283e86d0da028537e77e1a9cac2377c9a
|
|
| MD5 |
0fcc70319d55039ea9a84535c18db296
|
|
| BLAKE2b-256 |
7431de2cd1d04d821c6b10831240a1d42b53529009a006a4f1b36e5a14f6901f
|
Provenance
The following attestation bundles were made for django_style-0.3.2-py3-none-any.whl:
Publisher:
pypi.yml on radiac/django-style
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_style-0.3.2-py3-none-any.whl -
Subject digest:
8bf1a42658bf36d6bb43c62afb8001b283e86d0da028537e77e1a9cac2377c9a - Sigstore transparency entry: 1416728206
- Sigstore integration time:
-
Permalink:
radiac/django-style@73c120840d5b6d76ede0bd1fe1ec4368dc118f9f -
Branch / Tag:
refs/tags/v0.3.2 - Owner: https://github.com/radiac
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@73c120840d5b6d76ede0bd1fe1ec4368dc118f9f -
Trigger Event:
push
-
Statement type: