Skip to content

Commit

Permalink
Merge pull request #13 from chexex/fix_issue_8_TypeError
Browse files Browse the repository at this point in the history
Fix "TypeError: coercing to Unicode: need string or buffer...
  • Loading branch information
Roman Salin committed Jul 13, 2016
2 parents 3ae5684 + 68d1184 commit f788699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangoseo/backends.py
Expand Up @@ -448,7 +448,7 @@ class ModelMetadataBase(MetadataBaseModel):
objects = self.get_manager(options)()

def __str__(self):
return self._content_type
return str(self._content_type)

def _process_context(self, context):
""" Use the given model instance as context for rendering
Expand Down

0 comments on commit f788699

Please sign in to comment.