Django Braces: add reusable functionality to your Django projects

django-braces

django-braces provides useful Mixins for Django's class-based views. Most of these mixins replicate the behavior of Django's function-based view decorators. Others solve common headaches with working with class-based views. You can read more in the documentation.

Notes

django-braces is stable and time-tested. It does not receive a lot of updates and is not in active development.

django-braces also only officially supports Python version that are still receiving fixes and Django LTS versions. django-braces will work with most modern version of Python and Django, however.

Installation

Install from PyPI with pip: pip install django-braces

Contributing

See our contribution guide

Add yourself to CONTRIBUTORS.txt if you want.

All development dependencies are available in requirements.txt file.

To run the test suite, please install pytest and run pytest at the root of the repository.

Change Log

Changelog on Read The Docs

.coveragerc

# django-braces coverage config file
[run]
branch = true
source = braces

[report]
exclude_lines =
    if self.debug:
    pragma: no cover
    raise NotImplementedError
    if __name__ == .__main__.:
ignore_errors = True
omit =
    tests/
show_missing = True
fail_under = 97

.gitignore

.DS_Store
.python-version
._*
*.pyc
*.egg-info
/docs/_build/
/.coverage
/htmlcov
/.tox
/.cache
dist/
.idea
build/
venv/
.pytest_cache/
.tool-versions
pytest-coverage.txt
coverage.xml
.vscode/

Download details:

Author:  brack3t
Source: https://github.com/brack3t/django-braces

License: BSD-3-Clause license

#django #python 

Django Braces: add reusable functionality to your Django projects
1.70 GEEK