From ab8b798547e82ca79882ba28b1920077c803425f Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Fri, 5 Apr 2019 18:24:32 +0100 Subject: pysite -> pydis_site --- pysite/settings.py | 259 ----------------------------------------------------- 1 file changed, 259 deletions(-) delete mode 100644 pysite/settings.py (limited to 'pysite/settings.py') diff --git a/pysite/settings.py b/pysite/settings.py deleted file mode 100644 index 4bcc27b4..00000000 --- a/pysite/settings.py +++ /dev/null @@ -1,259 +0,0 @@ -""" -Django settings for pysite project. - -Generated by 'django-admin startproject' using Django 2.1. - -For more information on this file, see -https://docs.djangoproject.com/en/2.1/topics/settings/ - -For the full list of settings and their values, see -https://docs.djangoproject.com/en/2.1/ref/settings/ -""" - -import os -import sys - -import environ - - -env = environ.Env( - DEBUG=(bool, False) -) - - -# Build paths inside the project like this: os.path.join(BASE_DIR, ...) -BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - - -DEBUG = env('DEBUG') - -# Quick-start development settings - unsuitable for production -# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/ - -# SECURITY WARNING: keep the secret key used in production secret! -if DEBUG: - ALLOWED_HOSTS = [ - 'pythondiscord.local', - 'admin.pythondiscord.local', - 'api.pythondiscord.local', - 'staff.pythondiscord.local', - 'wiki.pythondiscord.local' - ] - SECRET_KEY = "+_x00w3e94##2-qm-v(5&-x_@*l3t9zlir1etu+7$@4%!it2##" - -elif 'CI' in os.environ: - ALLOWED_HOSTS = ['*'] - SECRET_KEY = "{©ø¬½.Þ7&Ñ`Q^Kº*~¢j