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

Good to know #41

Open
cypherhp opened this issue Feb 25, 2023 · 4 comments
Open

Good to know #41

cypherhp opened this issue Feb 25, 2023 · 4 comments

Comments

@cypherhp
Copy link

in this part `DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': coredb, <---error
'USER': 'core',
'PASSWORD': 'wCh29&HE&T83',
'HOST': 'localhost',
'PORT': '5342',
}
}

` from the book the name coredb is set as a variable. It causes confusion and many errors.

@Maran9
Copy link

Maran9 commented Mar 10, 2023

Hi @koladev32 can you weigh in on this issue?

@cypherhp
Copy link
Author

Hi @koladev32 can you weigh in on this issue?

What I mean is that in 'NAME': coredb the name should be "coredb" with "" <-----------

@koladev32
Copy link
Collaborator

koladev32 commented Mar 13, 2023

Hey @cypherhp

Surely, I believe that it was a typo. As you said, It should be 👇

...
 'NAME': 'coredb',
...

You will also want to correct the port. This should be 5432

@ingarbi
Copy link

ingarbi commented Mar 23, 2023

He uses wrong port. Just leave it empty as ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants