-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings_dev.py
executable file
·36 lines (31 loc) · 1.47 KB
/
settings_dev.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
"""
Author: tianwei
Email: liutianweidlut@gmail.com
Description: Django setting for daily development
Created: 2013-4-12
"""
from settings import *
DEBUG = True
TEMPLATE_DEBUG = DEBUG
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'ScientificReaserch', # Or path to database file if using sqlite3.
'USER': 'root', # Not used with sqlite3.
'PASSWORD': 'root', # Not used with sqlite3.
'HOST': '192.168.2.79', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '3306', # Set to empty string for default. Not used with sqlite3.
}
}
# DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
# 'NAME': 'ScientificResearch', # Or path to database file if using sqlite3.
# 'USER': 'root', # Not used with sqlite3.
# 'PASSWORD': 'root', # Not used with sqlite3.
# 'HOST': '192.168.20.100', # Set to empty string for localhost. Not used with sqlite3.
# 'PORT': '3306', # Set to empty string for default. Not used with sqlite3.
# }
# }
# Website settings
WEB_TITLE = "Province Management Dev"