instance
This commit is contained in:
14
instance/cfg.py
Normal file
14
instance/cfg.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import os
|
||||
from envs import env
|
||||
|
||||
pages_root = 'data'
|
||||
static_root = 'static'
|
||||
default_template = 'page.html'
|
||||
URL_PREFIX = "/"
|
||||
FLATPAGES_EXTENSION = ".md"
|
||||
FLATPAGES_AUTO_RELOAD = True
|
||||
DEBUG = True
|
||||
FLATPAGES_ROOT = os.path.abspath(pages_root)
|
||||
DEFAULT_TEMPLATE = 'page.html'
|
||||
PAGES_ROOT='data'
|
||||
STATIC_ROOT='static'
|
||||
Reference in New Issue
Block a user