Skip to main content

Reusable bricks for Django templates

Project description

django-brick-astley

Reusable bricks for Django templates.

PyPI version Documentation Status

Documentation | PyPI | GitHub

Installation

pip install django-brick-astley

Usage

Add brickastley to your INSTALLED_APPS:

INSTALLED_APPS = [
    # ...
    'brickastley',
    # ...
]

For detailed usage instructions, see the full documentation.

Example Project

This repository includes a Django demo project in the example/ directory. To run it:

cd example
python -m venv .venv
source .venv/bin/activate
pip install -e ..
pip install Django
python manage.py migrate
python manage.py runserver

Visit http://127.0.0.1:8000/ to see the example in action.

Development

Clone the repository:

git clone https://github.com/philippbosch/django-brick-astley.git
cd django-brick-astley

Create and activate a virtual environment:

# Create virtual environment
python -m venv .venv

# Activate virtual environment
source .venv/bin/activate

Install in development mode with dev dependencies:

pip install -e ".[dev]"

Run tests:

pytest

License

MIT

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_brick_astley-0.4.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_brick_astley-0.4.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file django_brick_astley-0.4.0.tar.gz.

File metadata

  • Download URL: django_brick_astley-0.4.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for django_brick_astley-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b353f54b3a074137b84d6a6555463a1b41dee365bfe956b5ebdb575421b98da3
MD5 49880eb49173709f67ab545b83c60385
BLAKE2b-256 381763e235c93246145e357d523da3853377042dd071b764e41a23af1c805fd4

See more details on using hashes here.

File details

Details for the file django_brick_astley-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_brick_astley-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea2871fab49a01e6ff5a1a17709c261a3c904e2f7b6db7c3f70ac402c97e398d
MD5 f39e61a2ee2059d2158a4c787ff0df2b
BLAKE2b-256 f9b71ca9db18d48cded5e2efcbc9d599deea815adbdf668a8ecc4b495bdd3351

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page