This commit is contained in:
@@ -7,14 +7,6 @@ It changes the generic lifecycles of all the CRUD operations to fit within them
|
|||||||
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.
|
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.
|
||||||
|
|
||||||
# Usage
|
# Usage
|
||||||
### Ensure that the module is in the INSTALLED_APPS in settings.py:
|
|
||||||
```python
|
|
||||||
INSTALLED_APPS = [
|
|
||||||
...
|
|
||||||
'starfields_drf_generics',
|
|
||||||
]
|
|
||||||
```
|
|
||||||
|
|
||||||
### Making views in views.py:
|
### Making views in views.py:
|
||||||
```python
|
```python
|
||||||
from starfields_drf_generics import generics
|
from starfields_drf_generics import generics
|
||||||
|
|||||||
Reference in New Issue
Block a user