예제 #1
0
파일: views.py 프로젝트: jvalleroy/Plinth
 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
예제 #2
0
 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
예제 #3
0
파일: views.py 프로젝트: jvalleroy/Plinth
 def get_context_data(self, *args, **kwargs):
     context = super().get_context_data(*args, **kwargs)
     context['domainname'] = xmpp.get_domainname()
     return context
예제 #4
0
 def get_context_data(self, *args, **kwargs):
     context = super().get_context_data(*args, **kwargs)
     context['domainname'] = xmpp.get_domainname()
     return context