kumidc/frontend/mixins/views.py
2022-08-04 13:15:10 +02:00

7 lines
No EOL
189 B
Python

class TitleMixin:
title = ""
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["title"] = self.title
return context