Revision 94284c9a
Added by Marc Nicolas about 9 years ago
webstatDev/idoc_Maison/idoc/settings.py | ||
---|---|---|
59 | 59 |
# Database |
60 | 60 |
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases |
61 | 61 |
|
62 |
#DATABASES = { |
|
63 |
# 'default': { |
|
64 |
# 'ENGINE': 'django.db.backends.sqlite3', |
|
65 |
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), |
|
66 |
# } |
|
67 |
#} |
|
62 |
DATABASES = { |
|
63 |
'default': { |
|
64 |
'ENGINE': 'django.db.backends.sqlite3', |
|
65 |
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), |
|
66 |
} |
|
67 |
} |
|
68 |
''' |
|
68 | 69 |
DATABASES = { |
69 | 70 |
'default': { |
70 | 71 |
'ENGINE': 'django.db.backends.postgresql_psycopg2', |
71 |
'NAME': 'webstat_DB', |
|
72 |
'NAME': 'webstat_DB_TEST',
|
|
72 | 73 |
'USER': 'postgres', |
73 | 74 |
'PASSWORD': '', |
74 | 75 |
'HOST': 'localhost', |
75 | 76 |
'PORT': 5432 |
76 | 77 |
} |
77 | 78 |
} |
78 |
|
|
79 |
|
|
79 |
''' |
|
80 | 80 |
|
81 | 81 |
# Internationalization |
82 | 82 |
# https://docs.djangoproject.com/en/1.7/topics/i18n/ |
Also available in: Unified diff
ajout du dev sur le protocol TAP