Remove non-existent tag attribute handling from Content.url_format

This commit is contained in:
Oliver Urs Lenz 2018-11-25 13:27:18 +01:00
commit 6923a7bca0
2 changed files with 1 additions and 15 deletions

View file

@ -213,7 +213,6 @@ class Content(object):
'lang': getattr(self, 'lang', 'en'),
'date': getattr(self, 'date', SafeDatetime.now()),
'author': self.author.slug if hasattr(self, 'author') else '',
'tag': self.tag.slug if hasattr(self, 'tag') else '',
'category': self.category.slug if hasattr(self, 'category') else ''
})
return metadata