Commits

Chatri Sae-Tung committed 47f56b6

Add psycopg2, djdatabaseurl.

Comments (0)

Files changed (2)

initialp/settings.py

 
 DATABASES = {
     'default': {
-        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
-        'NAME': 'db/sqlite3.db',                      # Or path to database file if using sqlite3.
+        'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
+        'NAME': '',                      # Or path to database file if using sqlite3.
         'USER': '',                      # Not used with sqlite3.
         'PASSWORD': '',                  # Not used with sqlite3.
         'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
         },
     }
 }
+
+import dj_database_url
+DATABASES['default'] =  dj_database_url.config()
 Django==1.4.2
+dj-database-url==0.2.1
+psycopg2==2.4.5
 wsgiref==0.1.2