kumidc/frontend/mixins/views.py

7 lines
189 B
Python
Raw Normal View History

2022-08-04 11:15:10 +00:00
class TitleMixin:
title = ""
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["title"] = self.title
return context