starfields-drf-generics-0.1.4
This repository holds the django library that StarFields uses for the django-rest-framework generic views.
Differences with the DRF generic views
It changes the generic lifecycles of all the CRUD operations to fit within them automated caching functionality. Caching and deleting cache keys is handled by the library in a way that the cache keys have no duplicates. The generic views offered include single item CRUD and list-based CRUD. To manage automated caching this the library replaces (and appends to) the DRF filters. These filters need a get_unique_dict method in order to avoid the duplicate cache keys problem.
Description
An extension to django-rest-framework's generic classes and filters to support caching.
Releases
6
Languages
Python
97.2%
HTML
2.8%