mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed docstring typos.
This commit is contained in:
committed by
Tim Graham
parent
32969c3931
commit
f2b2a35699
@@ -22,7 +22,7 @@ class DeserializationError(Exception):
|
||||
def WithData(cls, original_exc, model, fk, field_value):
|
||||
"""
|
||||
Factory method for creating a deserialization error which has a more
|
||||
explanatory messsage.
|
||||
explanatory message.
|
||||
"""
|
||||
return cls("%s: (%s:pk=%s) field_value was '%s'" % (original_exc, model, fk, field_value))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user