def get_context_data(self, **kwargs): context = super(MochaView, self).get_context_data(**kwargs) context["settings"] = settings return context