You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
228 B
Python
10 lines
228 B
Python
10 years ago
|
import os
|
||
|
|
||
|
from jinja2 import Environment, FileSystemLoader
|
||
|
|
||
|
SITE_ROOT = os.path.dirname(os.path.realpath(__file__))
|
||
|
|
||
|
TEMPLATE_DIR = os.path.join(SITE_ROOT, 'templates')
|
||
|
|
||
|
env = Environment(loader=FileSystemLoader(TEMPLATE_DIR))
|