'Configure django to use both our template and pages folder as locations
to look for included templates.'

def setup(self):

    settings = {'TEMPLATE_DIRS': [self.template_path, self.page_path], 'INSTALLED_APPS': ['django_markwhat']}
    if (self.locale is not None):
        settings.update({'USE_I18N': True, 'USE_L10N': False, 'LANGUAGE_CODE': self.locale, 'LOCALE_PATHS': [self.locale_path]})
    django.conf.settings.configure(**settings)
    from django.template.loader import add_to_builtins
    add_to_builtins('cactus.template_tags')
