Browse Source

Update settings_example.py

by default initial database is sqlite
devel
Дмитрий 9 years ago
committed by GitHub
parent
commit
21837bb03e
  1. 14
      djing/settings_example.py

14
djing/settings_example.py

@ -80,13 +80,13 @@ WSGI_APPLICATION = 'djing.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
#'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'ENGINE': 'django.db.backends.mysql',
'NAME': 'djingdb',
'USER': 'USER', # You can change the user name
'PASSWORD': 'PASSWORD', # You can change the password
'HOST': 'localhost'
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
#'ENGINE': 'django.db.backends.mysql',
#'NAME': 'djingdb',
#'USER': 'USER', # You can change the user name
#'PASSWORD': 'PASSWORD', # You can change the password
#'HOST': 'localhost'
} }
} }

Loading…
Cancel
Save