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.3.0.tar.gz (15.6 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.3.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_brick_astley-0.3.0.tar.gz
  • Upload date:
  • Size: 15.6 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.3.0.tar.gz
Algorithm Hash digest
SHA256 2e2935d7ef2898768c138e0f96fb7c1a7e4490a270494fc892a5a89a8917ca82
MD5 58a9aa682bc5d244693648e72d1069e0
BLAKE2b-256 d2ea72b0c42a195ee02a867c581a426bca1a0681f77fb51f6a6e241bf6ae00a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_brick_astley-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee68664c397a1d6e5bab270aa559a853eddc5e71a268360fb9e17b64b1848407
MD5 3791c65e5ef646ba9741806360e4bd06
BLAKE2b-256 1c3dfbacab35eed85905ac31de56ac8c09ce7b18f2ce318201219536a54906a6

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