def get_context_data(self, *args, **kwargs): """Add domain information to view context.""" context = super().get_context_data(*args, **kwargs) context['domainname'] = xmpp.get_domainname() return context
def get_context_data(self, *args, **kwargs): context = super().get_context_data(*args, **kwargs) context['domainname'] = xmpp.get_domainname() return context