Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homework #308

Open
Gitfixing opened this issue Jul 14, 2023 · 0 comments
Open

Homework #308

Gitfixing opened this issue Jul 14, 2023 · 0 comments

Comments

@Gitfixing
Copy link

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': '<название вашей базы данных>',
'USER': '<имя пользователя>',
'PASSWORD': '<пароль>',
'HOST': '<хост базы данных, например: localhost>',
'PORT': '<порт базы данных, по умолчанию: 5432>',
}
}

  • 'ENGINE': указывает на тип базы данных, в данном случае 'django.db.backends.postgresql' для PostgreSQL.
  • 'NAME': название вашей базы данных.
  • 'USER': имя пользователя для доступа к базе данных.
  • 'PASSWORD': пароль пользователя для доступа к базе данных.
  • 'HOST': адрес хоста базы данных, например, 'localhost'.
  • 'PORT': порт хоста базы данных, по умолчанию 5432 для PostgreSQL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant