Skip to content
Discussion options

You must be logged in to vote

The settings module was refactored in the last year, so the yaml will look slightly different. The docs have the updated versions, so you might want to go back through them! And as always, let me know where docs could be cleaned up and improved

Here is your setup (the old way to configure a database):

# Inside the file `hyesol_newdb-database.yaml`
default:
  ENGINE: django.db.backends.postgresql
  HOST: ****
  NAME: simmate01
  USER: ****
  PASSWORD: ****
  PORT: ****
  OPTIONS:
    sslmode: require

And the new way to configure the database:

# Inside the file `hyesol_newdb-settings.yaml`
database:
  engine: django.db.backends.postgresql
  host: ****
  name: simmate01
  user: ****
  password

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hyesol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants