This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
FG_RED="\033[38;5;9m" | |
FG_YELLOW="\033[0;33m" | |
FG_GREEN="\033[0;32m" | |
FG_OCHRE="\033[38;5;110m" | |
FG_BLUE="\033[0;34m" | |
FG_WHITE="\033[0;37m" | |
FG_RESET="\033[0m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -* coding: utf-8 *- | |
""" | |
Config import handler | |
This let us import settings, and don't care about: | |
>>> settings = importlib.import_module('module_name') | |
""" | |
import os | |
import importlib | |
my_module = importlib.import_module(os.getenv('SETTINGS_MODULE')) |