summaryrefslogtreecommitdiff
path: root/tests/model_fields/models.py
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2015-12-02 23:55:50 +0000
committerTim Graham <timograham@gmail.com>2015-12-03 12:49:03 -0500
commit8897f4b0df30f385d0a95156f8a18b4b25cea37e (patch)
tree06b90550ea4c2481adbe89a918817d5b1726e65e /tests/model_fields/models.py
parent519cfbb4e8f388664347fcc708e44148148ed6f8 (diff)
downloaddjango-8897f4b0df30f385d0a95156f8a18b4b25cea37e.tar.gz
[1.9.x] Fixed many spelling mistakes in code, comments, and docs.
Backport of 93452a70e8a62c7408eeded444f5088d4a26212d from master
Diffstat (limited to 'tests/model_fields/models.py')
-rw-r--r--tests/model_fields/models.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/model_fields/models.py b/tests/model_fields/models.py
index 0f2e54f939..925caea888 100644
--- a/tests/model_fields/models.py
+++ b/tests/model_fields/models.py
@@ -251,7 +251,7 @@ if Image:
name = models.CharField(max_length=50)
mugshot = TestImageField(storage=temp_storage, upload_to='tests')
- class AbsctractPersonWithHeight(models.Model):
+ class AbstractPersonWithHeight(models.Model):
"""
Abstract model that defines an ImageField with only one dimension field
to make sure the dimension update is correctly run on concrete subclass
@@ -264,9 +264,9 @@ if Image:
class Meta:
abstract = True
- class PersonWithHeight(AbsctractPersonWithHeight):
+ class PersonWithHeight(AbstractPersonWithHeight):
"""
- Concrete model that subclass an abctract one with only on dimension
+ Concrete model that subclass an abstract one with only on dimension
field.
"""
name = models.CharField(max_length=50)
@@ -298,7 +298,7 @@ if Image:
Model that:
* Defines two ImageFields
* Defines the height/width fields before the ImageFields
- * Has a nullalble ImageField
+ * Has a nullable ImageField
"""
name = models.CharField(max_length=50)
mugshot_height = models.PositiveSmallIntegerField()