Skip to content

Commit

Permalink
Configura banco de dados postgresql
Browse files Browse the repository at this point in the history
  • Loading branch information
brnocesar committed Nov 7, 2020
1 parent 18fb6a5 commit b175afd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions djangoreceitas/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'django_receitas',
'USER': 'dev',
'PASSWORD': '123456',
'HOST': 'localhost',
}
}

Expand Down

0 comments on commit b175afd

Please sign in to comment.