datatracker/ietf/context_processors.py
Bill Fenner 5a4e9de2f1 Remove the hardcoded " - WCF" from the title.
Export server_mode into the template context, and use it to conditionalize
the addition of the server mode into the title.
 - Legacy-Id: 632
2007-06-25 16:32:08 +00:00

6 lines
114 B
Python

from django.conf import settings
def server_mode(request):
return {'server_mode': settings.SERVER_MODE}