Use relative includes in settings files

This commit is contained in:
Calen Pennington
2012-06-06 14:16:28 -04:00
parent fa42022ea7
commit 54756bf5e2
7 changed files with 13 additions and 13 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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'

View File

@@ -13,7 +13,7 @@ Dir structure:
/log # Where we're going to write log files
"""
from envs.dev import *
from .dev import *
DATABASES = {
'default': {

View File

@@ -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

View File

@@ -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 = [

View File

@@ -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