I was reading the django docs and i have been confused by the explanation
as shown in the snippet.
[image: Screenshot from 2022-04-29 01-36-59.png]
in the first snippet of code does it mean that both conditions will have to
be met as in the case of "and" in logical operators?
Second snippet, do
I have been trying to connect my django project to postrgesql database, i
have one the configurations to it perfectly like this;
ALLOWED_HOSTS = ['localhost', '127.0.0.1']
DATABASES = {
'default': {
'ENGINE' : 'django.db.backends.postgresql_psycopg2',
'NAME' : 'firstdjangop
2 matches
Mail list logo