most of stage 2
[edumed.git] / edumed / context_processors.py
1 # -*- coding: utf-8 -*-
2 def base_template(request):
3     base_template = 'base_mil.html' if request.META.get('HTTP_HOST').startswith('katalog') else 'base.html'
4     return dict(base_template = base_template)