Changed the formatting a bit in README.md
This commit is contained in:
@@ -6,13 +6,13 @@ 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:
|
### Ensure that the module is in the INSTALLED_APPS in settings.py:
|
||||||
INSTALLED_APPS = [
|
INSTALLED_APPS = [
|
||||||
...
|
...
|
||||||
'starfields_drf_generics',
|
'starfields_drf_generics',
|
||||||
]
|
]
|
||||||
|
|
||||||
##### Making views in views.py:
|
### Making views in views.py:
|
||||||
from starfields_drf_generics import generics
|
from starfields_drf_generics import generics
|
||||||
from starfields_drf_generics import filters as libfilters
|
from starfields_drf_generics import filters as libfilters
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user