aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/generics.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/generics.py')
-rw-r--r--rest_framework/generics.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rest_framework/generics.py b/rest_framework/generics.py
index 19f2b704..f575470e 100644
--- a/rest_framework/generics.py
+++ b/rest_framework/generics.py
@@ -58,6 +58,9 @@ class GenericAPIView(views.APIView):
return serializer_class(instance, data=data, files=files,
partial=partial, context=context)
+ def pre_save(self, obj):
+ pass
+
class MultipleObjectAPIView(MultipleObjectMixin, GenericAPIView):
"""