diff options
| author | Offby-One Kenobi <gunbei@10xengineers.org> | 2016-05-02 15:43:03 +0000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-02 11:43:03 -0400 |
| commit | f2b2a35699332108ef6f91abe296b35e0a9579bc (patch) | |
| tree | 93730c43a8228741bd4097a72719fa4d32878cf9 | |
| parent | 32969c3931dea8488ee4ad2849eab43e31e5542e (diff) | |
Fixed docstring typos.
| -rw-r--r-- | django/core/serializers/base.py | 2 | ||||
| -rw-r--r-- | tests/model_forms/tests.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/core/serializers/base.py b/django/core/serializers/base.py index 165c7fa7ff..7cf66b15f7 100644 --- a/django/core/serializers/base.py +++ b/django/core/serializers/base.py @@ -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)) diff --git a/tests/model_forms/tests.py b/tests/model_forms/tests.py index 56a5bad781..193b5e1fda 100644 --- a/tests/model_forms/tests.py +++ b/tests/model_forms/tests.py @@ -2291,7 +2291,7 @@ class ModelOtherFieldTests(SimpleTestCase): def test_modelform_non_editable_field(self): """ - When explicitely including a non-editable field in a ModelForm, the + When explicitly including a non-editable field in a ModelForm, the error message should be explicit. """ # 'created', non-editable, is excluded by default |
