diff -r 4e9e005bce90 -r 609fa711b324 server/settings.py --- a/server/settings.py Mon Mar 23 12:20:28 2015 +0100 +++ b/server/settings.py Mon Mar 23 12:21:17 2015 +0100 @@ -26,6 +26,8 @@ ALLOWED_HOSTS = [] +URL_JAMESPOT = 'http://fui-ammico.jamespot.pro/api/api.php?&k=6c8bfcea247e8a5841288269887d88f0&d=2016-01-31&m=EXT-IRI&v=2.0' + # Application definition @@ -73,9 +75,12 @@ DATABASES = { 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + 'ENGINE': 'django.db.backends.postgresql_psycopg2', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. + 'NAME': 'ammico_db', # Or path to database file if using sqlite3. + 'USER': 'postgres', # Not used with sqlite3. + 'PASSWORD': 'postgres', # Not used with sqlite3. + 'HOST': 'localhost', # Set to empty string for localhost. Not used with sqlite3. + 'PORT': '5432', # Set to empty string for default. Not used with sqlite3. } }