Skip to content

Instantly share code, notes, and snippets.

@liviocunha
Created August 17, 2014 22:58
Show Gist options
  • Save liviocunha/361fe1fb80a97ca545d2 to your computer and use it in GitHub Desktop.
Save liviocunha/361fe1fb80a97ca545d2 to your computer and use it in GitHub Desktop.
eventex-wttd-alexfalcucci / eventex / settings.py
"""
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