xmpp.chapril.org-conversejs/trans/context_processors.py
2012-03-02 14:11:32 +01:00

9 lines
175 B
Python

import trans
from django.conf import settings
def version(request):
return {'version': trans.VERSION}
def title(request):
return {'site_title': settings.SITE_TITLE}