# -*- coding: UTF-8 -*-
from django.conf import settings
class NewStyleTemplateDir(object):
@staticmethod
def process_request(request):
if request.GET.get('new_style'):
settings.TEMPLATES[0]['DIRS'] = ['новая директория с шаблонами']