Skip to content
Snippets Groups Projects
Commit 54756bf5 authored by Calen Pennington's avatar Calen Pennington
Browse files

Use relative includes in settings files

parent fa42022e
No related merge requests found
......@@ -8,8 +8,8 @@ Common traits:
"""
import json
from envs.logsettings import get_logger_config
from envs.common import *
from .logsettings import get_logger_config
from .common import *
############################### ALWAYS THE SAME ################################
DEBUG = False
......
......@@ -2,7 +2,7 @@
These are debug machines used for content creators, so they're kind of a cross
between dev machines and AWS machines.
"""
from envs.aws import *
from .aws import *
DEBUG = True
TEMPLATE_DEBUG = True
......
......@@ -13,9 +13,9 @@ import socket
if 'eecs1' in socket.gethostname():
MITX_ROOT_URL = '/mitx2'
from envs.common import *
from envs.logsettings import get_logger_config
from dev import *
from .common import *
from .logsettings import get_logger_config
from .dev import *
if 'eecs1' in socket.gethostname():
MITX_ROOT_URL = '/mitx2'
......
......@@ -13,7 +13,7 @@ Dir structure:
/log # Where we're going to write log files
"""
from envs.dev import *
from .dev import *
DATABASES = {
'default': {
......
......@@ -7,8 +7,8 @@ sessions. Assumes structure:
/mitx # The location of this repo
/log # Where we're going to write log files
"""
from envs.common import *
from envs.logsettings import get_logger_config
from .common import *
from .logsettings import get_logger_config
STATIC_GRAB = True
......
......@@ -7,8 +7,8 @@ sessions. Assumes structure:
/mitx # The location of this repo
/log # Where we're going to write log files
"""
from envs.common import *
from envs.logsettings import get_logger_config
from .common import *
from .logsettings import get_logger_config
import os
INSTALLED_APPS = [
......
......@@ -7,8 +7,8 @@ sessions. Assumes structure:
/mitx # The location of this repo
/log # Where we're going to write log files
"""
from envs.common import *
from envs.logsettings import get_logger_config
from .common import *
from .logsettings import get_logger_config
import os
DEBUG = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment