Created
August 17, 2014 22:58
-
-
Save liviocunha/361fe1fb80a97ca545d2 to your computer and use it in GitHub Desktop.
eventex-wttd-alexfalcucci / eventex / settings.py
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
""" | |
Django settings for eventex project. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/1.6/topics/settings/ | |
--- a/eventex/settings.py | |
+++ b/eventex/settings.py | |
@@ -8,9 +8,8 @@ For the full list of settings and their values, see | |
https://docs.djangoproject.com/en/1.6/ref/settings/ | |
""" | |
# Build paths inside the project like this: os.path.join(BASE_DIR, ...) | |
#import os | |
#BASE_DIR = os.path.dirname(os.path.dirname(__file__)) | |
from decouple import config | |
from dj_database_url import parse as db_url | |
from unipath import Path | |
BASE_DIR = Path(__file__).parent | |
import dj_database_url | |
# Quick-start development settings - unsuitable for production | |
# See https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/ | |
# SECURITY WARNING: keep the secret key used in production secret! | |
SECRET_KEY = config('SECRET_KEY') #onde configuro a secret?? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment