Fixed typo: CopntentType

This commit is contained in:
utapyngo
2014-04-18 19:17:23 +07:00
parent 6c58acac8d
commit e1a4ba80e9
+1 -1
View File
@@ -99,7 +99,7 @@ class PolymorphicModel(six.with_metaclass(PolymorphicModelBase, models.Model)):
"""
# the following line would be the easiest way to do this, but it produces sql queries
# return self.polymorphic_ctype.model_class()
# so we use the following version, which uses the CopntentType manager cache.
# so we use the following version, which uses the ContentType manager cache.
# Note that model_class() can return None for stale content types;
# when the content type record still exists but no longer refers to an existing model.
try: