Commit c6a6144a by Calen Pennington

Point at a test_data directory for testing

parent 8f79c94d
...@@ -16,6 +16,15 @@ INSTALLED_APPS = [ ...@@ -16,6 +16,15 @@ INSTALLED_APPS = [
if not app.startswith('askbot') if not app.startswith('askbot')
] ]
COURSES_ROOT = PROJECT_ROOT / "test_data"
DATA_DIR = COURSES_ROOT
MAKO_TEMPLATES['course'] = [DATA_DIR]
MAKO_TEMPLATES['sections'] = [DATA_DIR / 'sections']
MAKO_TEMPLATES['custom_tags'] = [DATA_DIR / 'custom_tags']
MAKO_TEMPLATES['main'] = [PROJECT_ROOT / 'templates',
DATA_DIR / 'info',
DATA_DIR / 'problems']
LOGGING = logsettings.get_logger_config(PROJECT_ROOT / "log", LOGGING = logsettings.get_logger_config(PROJECT_ROOT / "log",
logging_env="dev", logging_env="dev",
tracking_filename="tracking.log", tracking_filename="tracking.log",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment