Helper for building BREAD interfaces
Project description
Django Bread is a Django app to help build BREAD (Browse, Read, Edit, Add, Delete) views for Django models.
It helps with default templates, url generation, permissions, filters, pagination, and more.
This is relatively stable. We’re using it in production and have attempted to document the important parts, but feedback is welcome.
Breaking change in 1.0.0
Version 1.0.0 includes a breaking change! If you’re using the default view permissions, before upgrading, make sure you’ve migrated your users and groups that have “read_{model_name}” permissions to also have “view_{model_name}”. From 1.0.0 on, that’s the default permission a user needs to use the read views, because it’s become the standard Django permission for read-only access since Django 2.1.
If you’re still on Django 2.0, don’t upgrade django-bread until you can get to at least Django 2.1. (Hopefully that’s not the case, since Django 2.0 has been out of support since April 1, 2019.)
Supported versions
Django: 2.2, 3.0, 3.1 Python: 3.7, 3.8, 3.9
For Python 2.7 and/or Django 1.11 support, the 0.5 release series is identical (features-wise) to 0.6 and is available on PyPI: https://pypi-hypernode.com/project/django-bread/#history
Testing
To run the tests, install “tox” (“pip install tox”) and just run it:
$ tox …
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file django_bread-1.0.1.tar.gz
.
File metadata
- Download URL: django_bread-1.0.1.tar.gz
- Upload date:
- Size: 47.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b0e5a7ff27bc2158fc18b0c4321cc0b7f3ba897e4b2680cb7bdb58b6dcb76be |
|
MD5 | 950d49899cc3cbba4eb1ee9f1d87d11a |
|
BLAKE2b-256 | 6509900cbf8cb0828aeca99ddb1fb6ee347a6cbf43e8413faeddfd2b4edbfd54 |
Provenance
File details
Details for the file django_bread-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: django_bread-1.0.1-py3-none-any.whl
- Upload date:
- Size: 48.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b2496b622a4d4c2d4a9e7bab951a3ca4b17744c764ad07d2cc1820fbd8165c8 |
|
MD5 | 65ebf40159f0fd47f4ed45188eb710d6 |
|
BLAKE2b-256 | 84b99e8869265f99c163d95920661f9e65fdb9dd1433950e494a6a3d573e2552 |