Fixed typo: CopntentType

fix_request_path_info
utapyngo 2014-04-18 19:17:23 +07:00
parent 6c58acac8d
commit e1a4ba80e9
1 changed files with 1 additions and 1 deletions

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 # the following line would be the easiest way to do this, but it produces sql queries
# return self.polymorphic_ctype.model_class() # 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; # 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. # when the content type record still exists but no longer refers to an existing model.
try: try: