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

9 lines
175 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):
2012-03-02 14:11:32 +01:00
return {'site_title': settings.SITE_TITLE}