django-braces
Reusable, generic mixins for Django
Decision gist · record as of 2026-08-14
Yes, if you use Django class-based views and want proven, stable mixin patterns. The package is mature, has no known vulnerabilities, and low install friction. The aging maintenance status is acceptable for a stable library that solves a well-defined problem, but verify that its mixin coverage matches your specific view patterns before adopting it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single Django dependency.
- Maintenance status is aging—the package is stable and time-tested but receives infrequent updates and is not in active development.
- Last release was 514 days ago; the repository remains active with recent commits.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions. No notable licensing constraints for typical projects.
last release 2025-03-18 (514 days) · last repo commit 2025-03-18 · 2,019 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 397,505 downloads/mo, #6,958 on PyPI
Alternatives
Verify before relying
pip install django-braces
from django_braces.views import LoginRequiredMixin
from django.views.generic import TemplateView
class MyView(LoginRequiredMixin, TemplateView):
template_name = 'my_template.html'- Whether all documented mixins remain compatible with Django versions beyond 4.2 despite aging maintenance status.
- Specific mixin coverage—which common class-based view patterns are addressed by the library.
What it is and what it does
django-braces is a collection of mixin classes designed to extend Django's class-based views with reusable behavior patterns. It bridges the gap between Django's function-based view decorators and class-based views by providing mixins that replicate decorator functionality and solve recurring design challenges in class-based view development.
The package is mature and stable, having been in use since 2012. It depends only on Django and installs with low friction. While it is no longer in active development and receives infrequent updates, it remains compatible with modern Python and Django versions, including Django LTS releases. The library is well-suited for projects that need proven, battle-tested view patterns without the overhead of more actively maintained alternatives.
Use it for
- Add login-required checks to class-based views using LoginRequiredMixin instead of decorators.
- Enforce permission and group membership checks on views through reusable mixin composition.
- Handle common HTTP method restrictions and response patterns across multiple view classes.
- Replicate function-based view decorator behavior in class-based view hierarchies.
- Build consistent access control and authentication patterns across a Django application.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Django class-based views and want proven, stable mixin patterns.
The package is mature, has no known vulnerabilities, and low install friction. The aging maintenance status is acceptable for a stable library that solves a well-defined problem, but verify that its mixin coverage matches your specific view patterns before adopting it.
Install
django-braces on PyPI
Before you install
Low install friction with a single Django dependency. Maintenance status is aging—the package is stable and time-tested but receives infrequent updates and is not in active development. Last release was 514 days ago; the repository remains active with recent commits.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions. No notable licensing constraints for typical projects.
Quickstart
pip install django-braces
from django_braces.views import LoginRequiredMixin
from django.views.generic import TemplateView
class MyView(LoginRequiredMixin, TemplateView):
template_name = 'my_template.html'
Verify before relying
- Whether all documented mixins remain compatible with Django versions beyond 4.2 despite aging maintenance status.
- Specific mixin coverage—which common class-based view patterns are addressed by the library.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageDjango |
| Maintenance | Aging 514 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 397,505 / month, #6,958 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableDevelopment Status :: 6 - MatureEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 2.2Framework :: Django :: 3.2Framework :: Django :: 4.0Framework :: Django :: 4.1Framework :: Django :: 4.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: django_braces-1.17.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django class-based view mixins”
- django-bracesProvides reusable mixin classes for Django class-based views,…
- django-extra-viewsProvides additional class-based views for Django that simplify common…
- django-weasyprintProvides Django class-based views and response classes for generating…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-annoying · django-decorator-include · django-extra-views · jason · func_args · django-admin-extra-buttons · django-weasyprint · django-service-objects · django-model-utils · sqlalchemy-mixins