This repository has been archived on 2021-06-29. You can view files and clone it, but cannot push or open issues or pull requests.
|
from django.views.generic import View as DjangoView
|
|
|
|
|
|
class View(DjangoView):
|
|
section = None
|
|
|
|
def get_context(self, context):
|
|
if self.section:
|
|
context['navigation'] = {
|
|
'section': self.section
|
|
}
|
|
|
|
return context
|