Skip to content

Commit

Permalink
Configure local settings
Browse files Browse the repository at this point in the history
  • Loading branch information
JoyyToo committed Jan 23, 2018
1 parent 06c6d20 commit e3f25a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 9 additions & 0 deletions hc/local_settings.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'hc',
'USER': 'postgres',
'TEST': {'CHARSET': 'UTF8'}
}
}
6 changes: 2 additions & 4 deletions hc/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,8 @@
# install requirements.txt and do manage.py runserver and it works
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'hc',
'USER': 'postgres',
'TEST': {'CHARSET': 'UTF8'}
'ENGINE': 'django.db.backends.sqlite3',
'NAME': './hc.sqlite',
}
}

Expand Down

0 comments on commit e3f25a5

Please sign in to comment.