diff options
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | db.sqlite3 | bin | 35840 -> 0 bytes | |||
-rw-r--r-- | django_skaschool/settings.py | 2 | ||||
-rw-r--r-- | django_skaschool/settings_mysql.py | 2 | ||||
-rw-r--r-- | django_skaschool/settings_production.py | 2 |
5 files changed, 10 insertions, 3 deletions
@@ -6,4 +6,11 @@ # django_skaschool/settings_email.py +django_skaschool/secret_key.txt + +# +db.sqlite3 +backup/ +static_root/ +media_root/ diff --git a/db.sqlite3 b/db.sqlite3 Binary files differdeleted file mode 100644 index 67c2663..0000000 --- a/db.sqlite3 +++ /dev/null diff --git a/django_skaschool/settings.py b/django_skaschool/settings.py index 402815f..bdc5c38 100644 --- a/django_skaschool/settings.py +++ b/django_skaschool/settings.py @@ -18,7 +18,7 @@ PROJECT_DIR = os.path.dirname(__file__) # See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = '3!73+$)!f&z@li7gg^^6w13&*vk#zbw*pue#9u+0l@_(5wocb@' +SECRET_KEY = open(os.path.join(PROJECT_DIR, 'secret_key.txt')).read().strip() # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True diff --git a/django_skaschool/settings_mysql.py b/django_skaschool/settings_mysql.py index 18c0196..4bd9f96 100644 --- a/django_skaschool/settings_mysql.py +++ b/django_skaschool/settings_mysql.py @@ -18,7 +18,7 @@ PROJECT_DIR = os.path.dirname(__file__) # See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = '3!73+$)!f&z@li7gg^^6w13&*vk#zbw*pue#9u+0l@_(5wocb@' +SECRET_KEY = open(os.path.join(PROJECT_DIR, 'secret_key.txt')).read().strip() # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True diff --git a/django_skaschool/settings_production.py b/django_skaschool/settings_production.py index c447a8d..93b56c8 100644 --- a/django_skaschool/settings_production.py +++ b/django_skaschool/settings_production.py @@ -18,7 +18,7 @@ PROJECT_DIR = os.path.dirname(__file__) # See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = '3!73+$)!f&z@li7gg^^6w13&*vk#zbw*pue#9u+0l@_(5wocb@' +SECRET_KEY = open(os.path.join(PROJECT_DIR, 'secret_key.txt')).read().strip() # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False |