A comprehensive toolkit that extends Django REST Framework with enhanced functionality and common patterns.
- Python 3.11+
- Django 4.2+
- Django REST Framework 3.14+
pip install drf-toolkit
For detailed usage instructions and examples, please visit our Quick Start Guide.
DRF Toolkit provides a comprehensive set of tools and utilities for Django REST Framework:
- Models: Enhanced model functionality with diff tracking, soft delete, and more
- Serializers: Advanced serialization with automatic field handling
- Views: Extended viewsets with caching, filtering, and nested resources
- Filters: Powerful filtering capabilities with multiple filter types
- Pagination: Optimized pagination for better performance
- Caching: Flexible caching system with custom key generation
- Signals: Model operation tracking and signal management
- Testing: Comprehensive testing utilities for API endpoints
# Install dependencies
make dependencies
# Run tests
make test
# Format code
make style
# Serve documentation locally
make docs-serve
For more development commands, check the Makefile.
We welcome contributions! Please check our Contributing Guide for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.