Skip to main content

Django Style

PyPI Documentation Tests Coverage

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

  1. Install:

    pip install django-style
    
  2. For Django: Add it to INSTALLED_APPS in your settings.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 Django constructor::

    app = Django(STYLE_THEME="tailwind")
    
  3. Extend base.html in your templates:

    {% extends "base.html" %}
    {% block content %}
        <p>Hello world</p>
    {% endblock %}
    

Metadata

Release files for django-style 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-style 0.3.2
File Size Uploaded
django_style-0.3.2.tar.gz 12.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-style 0.3.2
File Interpreter ABI Platform
django_style-0.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 27.6 kB

Release files / django_style-0.3.2.tar.gz

Download URL django_style-0.3.2.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2e6cadd5d845a0e9f83628f7eed55a79d27d62e01f3e56a6d0a2d445e6ddcf26
BLAKE2b-256 checksum
How to use checksums
360bba66f803f769fcb239a10b365d53c4e8230e994b68cf1cd5d2bf2a584660
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 1, 2026.

Transparency log

Release files / django_style-0.3.2-py3-none-any.whl

Download URL django_style-0.3.2-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bf1a42658bf36d6bb43c62afb8001b283e86d0da028537e77e1a9cac2377c9a
BLAKE2b-256 checksum
How to use checksums
7431de2cd1d04d821c6b10831240a1d42b53529009a006a4f1b36e5a14f6901f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page