xmpp.chapril.org-conversejs/trans/context_processors.py

9 lines
178 B
Python
Raw Normal View History

2012-02-29 11:08:03 +01:00
import trans
2012-02-29 15:03:45 +01:00
from django.conf import settings
2012-02-29 11:08:03 +01:00
def version(request):
return {'version': trans.VERSION}
2012-02-29 15:03:45 +01:00
def title(request):
return {'fallbacktitle': settings.SITE_TITLE}