aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorTom Christie2014-10-15 09:25:02 +0100
committerTom Christie2014-10-15 09:25:02 +0100
commitfaa5bd9f5361643725f2d1cda8fe9f4ad8273624 (patch)
tree6fc2c938dfa8fe4bbd04038d655950527ff6a90a /rest_framework
parente272a36c9b444c1da3a3d8bc809070deb26d9c64 (diff)
parentad16b508750ae30f279bf8370990b763475627de (diff)
downloaddjango-rest-framework-faa5bd9f5361643725f2d1cda8fe9f4ad8273624.tar.bz2
Merge branch 'version-3.0' of https://github.com/tomchristie/django-rest-framework into version-3.0
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/mixins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/mixins.py b/rest_framework/mixins.py
index 4c62debb..467ff515 100644
--- a/rest_framework/mixins.py
+++ b/rest_framework/mixins.py
@@ -67,10 +67,10 @@ class UpdateModelMixin(object):
instance = self.get_object()
serializer = self.get_serializer(instance, data=request.data, partial=partial)
serializer.is_valid(raise_exception=True)
- self.preform_update(serializer)
+ self.perform_update(serializer)
return Response(serializer.data)
- def preform_update(self, serializer):
+ def perform_update(self, serializer):
serializer.save()
def partial_update(self, request, *args, **kwargs):