Merge pull request #73 from utapyngo/master

Fixed typo: CopntentType
fix_request_path_info
Diederik van der Boor 2014-04-18 14:33:04 +02:00
commit bf64b111c4
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: