Compare commits
2 Commits
starfields
...
stable-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 0f26c16b15 | |||
| c1fd01a6d8 |
@@ -1,4 +1,4 @@
|
|||||||
from libraries.utils import sorted_params_string
|
from starfields_drf_generics.utils import sorted_params_string
|
||||||
|
|
||||||
# TODO classes below that involve create, update, destroy don't delete the caches properly, they need a regex cache delete
|
# TODO classes below that involve create, update, destroy don't delete the caches properly, they need a regex cache delete
|
||||||
# TODO put more reasonable asserts and feedback
|
# TODO put more reasonable asserts and feedback
|
||||||
@@ -10,7 +10,7 @@ from rest_framework import views
|
|||||||
from rest_framework.generics import GenericAPIView
|
from rest_framework.generics import GenericAPIView
|
||||||
from rest_framework.settings import api_settings
|
from rest_framework.settings import api_settings
|
||||||
|
|
||||||
from libraries import mixins
|
from starfields_drf_generics import mixins
|
||||||
|
|
||||||
|
|
||||||
# Concrete view classes that provide method handlers
|
# Concrete view classes that provide method handlers
|
||||||
@@ -8,7 +8,7 @@ from rest_framework import status
|
|||||||
from rest_framework.response import Response
|
from rest_framework.response import Response
|
||||||
from rest_framework.settings import api_settings
|
from rest_framework.settings import api_settings
|
||||||
from rest_framework import mixins
|
from rest_framework import mixins
|
||||||
from libraries.cache_mixins import CacheGetMixin, CacheSetMixin, CacheDeleteMixin
|
from starfields_drf_generics.cache_mixins import CacheGetMixin, CacheSetMixin, CacheDeleteMixin
|
||||||
|
|
||||||
|
|
||||||
# Mixin classes to be included in the generic classes
|
# Mixin classes to be included in the generic classes
|
||||||
Reference in New Issue
Block a user