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.2.0.tar.gz (14.7 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.2.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_brick_astley-0.2.0.tar.gz
  • Upload date:
  • Size: 14.7 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.2.0.tar.gz
Algorithm Hash digest
SHA256 ef6956b7e9357aca86d1814d0d21f06e590dada1654403c441ea870a004a3824
MD5 50330d4612c3b205b4b68391b7ca3eb1
BLAKE2b-256 5bd52a71d1c17525337724efd7cae3050f4f5512d5d53ce1261c3b7ac3706f2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_brick_astley-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e3d11f724ad972dfcf748ee9718986720c2d8cf726d0cf01632003d37129b78
MD5 cb1401410fe9ce00eec1efde09c6b9a9
BLAKE2b-256 25ddd454055fed7ab60ae323c413575249fda237b0525fe80c81cff0601169e2

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