Fix typo on warning message.

This commit is contained in:
Λlisue 2012-04-26 12:54:24 +09:00
parent a336681012
commit 314c08bfa1

View File

@ -510,7 +510,7 @@ class ModelMixin(object):
import warnings
warnings.warn(
"``get_instance(**kwargs)`` method is deprecated. "
"use ``get_object(queryset=None)`` insted.",
"use ``get_object(queryset=None)`` instead.",
DeprecationWarning
)
return self.get_queryset().get(**kwargs)