tags url; fix bugs

This commit is contained in:
bkfox
2016-06-20 13:38:34 +02:00
parent 23016a594f
commit a3a9beac6d
10 changed files with 108 additions and 25 deletions

View File

@ -60,7 +60,7 @@ class BaseView:
Return a context with all attributes of this classe plus 'view' set
to self.
"""
context = super().get_context_data(**kwargs)
context = {}
# update from sections
if self.sections:
@ -76,6 +76,8 @@ class BaseView:
'content': self.sections.render(self.request, **kwargs)
})
context.update(super().get_context_data(**kwargs))
# then from me
context.update({
'website': self.website,