adapt templates to the current edition of WTEM
[edumed.git] / edumed / context_processors.py
1 def base_template(request):
2     base_template = 'base_mil.html' if request.META.get('HTTP_HOST').startswith('katalog') else 'base.html'
3     return dict(base_template = base_template)