From d44a6c5a69b786dc0f920894df2bc9ff3272cdaf Mon Sep 17 00:00:00 2001 From: Camille Harang Date: Thu, 2 Feb 2012 03:06:40 +0100 Subject: [PATCH] Adding permission IsModelInstanceOwnerOrIsAnonReadOnly --- djangorestframework/mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangorestframework/mixins.py b/djangorestframework/mixins.py index e4943affd..6f646b685 100644 --- a/djangorestframework/mixins.py +++ b/djangorestframework/mixins.py @@ -530,7 +530,7 @@ class ModelMixin(object): @property def model_instance(self): """ - Returns the model instance for read/update/delete, or None if does not exit. + Returns the model instance for read/update/delete, or None if does not exist. """ if hasattr(self, '_model_instance'): return self._model_instance