summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-23 11:07:45 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-23 11:07:45 +0200
commit7924c43af9044cfd40f36bd8a84378417223d95b (patch)
tree78197ea5c36baaff4fcc1a53580eb3d586630b39 /example_project/settings.py
parent54b87741a26a2bd805ed32200b082ca07ee0e27d (diff)
parent0bdaa7c90017b436b3baf026c9710a8d49c9420a (diff)
downloadIshtar-7924c43af9044cfd40f36bd8a84378417223d95b.tar.bz2
Ishtar-7924c43af9044cfd40f36bd8a84378417223d95b.zip
Merge branch 'master' into v0.9
Conflicts: ishtar_common/migrations/0053_auto__add_field_ishtarsiteprofile_currency.py
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py17
1 files changed, 13 insertions, 4 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 18a715577..9d3a9b46b 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -40,6 +40,18 @@ LOGIN_REDIRECT_URL = "/" + URL_PATH
AUTH_PROFILE_MODULE = 'ishtar_common.IshtarUser'
ACCOUNT_ACTIVATION_DAYS = 7
+# change this in local_settings
+DATABASES = {
+ 'default': {
+ 'ENGINE': 'django.contrib.gis.db.backends.postgis',
+ 'NAME': 'ishtar',
+ 'USER': 'ishtar',
+ 'PASSWORD': 'ishtar',
+ 'HOST': '127.0.0.1',
+ 'PORT': '5432',
+ }
+}
+
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
@@ -129,6 +141,7 @@ INSTALLED_APPS = [
'django.contrib.staticfiles',
'django.contrib.formtools',
'django.contrib.messages',
+ 'django.contrib.humanize',
'south',
'registration',
# 'geodjangofla',
@@ -259,10 +272,6 @@ if DEBUG_TOOLBAR:
)
DEBUG_TOOLBAR_CONFIG = {'INTERCEPT_REDIRECTS': False}
-import sys
-if 'test' in sys.argv or 'test_coverage' in sys.argv:
- DATABASES['default']['engine'] = 'sqlite3'
-
if SQL_DEBUG:
LOGGING['loggers']['django.db.backends'] = {