A collection of reusable utilities for Django projects.
- CRUD Views — full CRUD interface with django-tables2, filters, search, and wizard support
- Admin Extensions —
EnhancedAdminMixinwith action links, AJAX actions, custom buttons, multi-select filters, and theme customization - Model Fields —
USAddressField,MultipleChoiceField,CurrencyFieldwith JSON storage and queryable components - Model Mixins —
TimeStampedModel,MonitorChangeMixin,GenericRelationMixin,ModelUtilsMixin - Forms — custom fields, widgets, validators, and readonly form classes
- Middleware — login required, thread-local request, exception tracking
- AI ORM Toolkit —
query_model(),list_models_and_fields()for LLM tool integration - Utilities — 100+ functions for JSON, collections, dates, permissions, CSV export, caching, and more
- Template Tags — currency formatting, list splitting, dynamic formsets
- django-tables2 Extensions —
EnhancedTablewith extra footers, new-row columns, and custom column types
- Django >= 2.2
- django-tables2 >= 1.21.2
- django-crispy-forms >= 1.7.2
- pypugjs >= 5.6.0
pip install django-reusable
Add to INSTALLED_APPS:
INSTALLED_APPS += ("django_reusable", )