Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Set up my (Malcolm's) local settings to use PostgreSQL database.

  • Loading branch information...
commit e0f1629aa0b82d7c58b77548dd17df611687efe5 1 parent 24d0669
@malcolmt authored
Showing with 7 additions and 4 deletions.
  1. +7 −0 host_settings/djelibeybi_localdomain.py
  2. +0 −4 settings.py
View
7 host_settings/djelibeybi_localdomain.py
@@ -1,2 +1,9 @@
INTERNAL_IPS = ("127.0.0.1")
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.db.backends.postgresql_psycopg2',
+ 'NAME': "minerva",
+ }
+}
+
View
4 settings.py
@@ -22,10 +22,6 @@
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(FILE_ROOT, 'main_db.sqlite'),
- 'USER': '',
- 'PASSWORD': '',
- 'HOST': '',
- 'PORT': '',
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.