summaryrefslogtreecommitdiffstats
path: root/askbot/deployment/template_loader.py
blob: fe7c11e612c1ea05569f7d2a5415c68477c253c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import os
import pystache

SOURCE_DIR = os.path.dirname(os.path.dirname(__file__))

class SettingsTemplate(pystache.View):
    '''Class for settings'''

    template_path = os.path.join(SOURCE_DIR, 'setup_templates')
    template_name = "settings.py"

    def __init__(self, context, **kwargs):
        super(SettingsTemplate, self).__init__(context=context, **kwargs)