"""
Django settings for django_blog project.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/

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__))


# 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 = 'z&n!vf-p=%04mrr!f7dzhx2v+iq7jia3!co+=#kv2+fz)z=xwa'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

TEMPLATE_DEBUG = True

ALLOWED_HOSTS = []


# Application definition

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
)

MIDDLEWARE_CLASSES = (
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
)

ROOT_URLCONF = 'django_blog.urls'

WSGI_APPLICATION = 'django_blog.wsgi.application'


# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

# Internationalization
# https://docs.djangoproject.com/en/1.6/topics/i18n/

LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = True


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.6/howto/static-files/

STATIC_URL = '/static/'

@@ -816,26 +816,24 @@
 ED_APPS = (%0A
-  
   'django.co
@@ -844,26 +844,24 @@
 b.admin',%0A  
- 
- 
 'django.cont
@@ -871,18 +871,16 @@
 .auth',%0A
-  
   'djang
@@ -900,26 +900,24 @@
 tenttypes',%0A
-  
   'django.co
@@ -931,26 +931,24 @@
 essions',%0A  
- 
- 
 'django.cont
@@ -960,26 +960,24 @@
 essages',%0A  
- 
- 
 'django.cont
@@ -1020,18 +1020,16 @@
 SES = (%0A
-  
   'djang
@@ -1070,34 +1070,32 @@
 ionMiddleware',%0A
-  
   'django.middle
@@ -1119,34 +1119,32 @@
 nMiddleware',%0A  
- 
- 
 'django.middlewa
@@ -1164,34 +1164,32 @@
 iewMiddleware',%0A
-  
   'django.contri
@@ -1225,34 +1225,32 @@
 ionMiddleware',%0A
-  
   'django.contri
@@ -1291,18 +1291,16 @@
 eware',%0A
-  
   'djang
@@ -1531,18 +1531,16 @@
 SES = %7B%0A
-  
   'defau
@@ -1546,20 +1546,16 @@
 ult': %7B%0A
-    
     'ENG
@@ -1584,74 +1584,150 @@
 nds.
-sqlite3',%0A        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),%0A  
+postgresql_psycopg2',%0A    'NAME': 'devcroo_django_blog',%0A    'USER': 'root',%0A    'PASSWORD': '',%0A    'HOST': '127.0.0.1',%0A    'PORT': '5432',%0A
   %7D%0A
@@ -1848,11 +1848,24 @@
  = '
-UTC
+America/New_York
 '%0A%0AU

update settings.py with postgresql configuration information