Exception Value: fe_sendauth: no password supplied

2018-11-18 Thread akash
hi all i am trying to connect to postgres db and display records on webpage 
i have set up dyango project but not sure why i am getting this error.

settings.py

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'test',
'USER': 'abtech',
'PASSWORD': 'abtech',
'HOST': 'localhost',
'PORT': '5432',
}
}



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fdba2734-889d-4187-89c7-c9ea21e9ae9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Exception Value: fe_sendauth: no password supplied

2018-11-18 Thread Akash Purandare
Hi Akash

Can you specify as to what error you are facing? Also, I believe that the 
ENGINE that you are using must be 'django.db.backends.postgresql' as given 
in the official docs of 
Django: 
https://docs.djangoproject.com/en/2.1/ref/settings/#std:setting-DATABASE-ENGINE

Regards
Akash Purandare

On Sunday, November 18, 2018 at 7:45:38 PM UTC+5:30, akash wrote:
>
> hi all i am trying to connect to postgres db and display records on 
> webpage i have set up dyango project but not sure why i am getting this 
> error.
>
> settings.py
>
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.postgresql_psycopg2',
> 'NAME': 'test',
> 'USER': 'abtech',
> 'PASSWORD': 'abtech',
> 'HOST': 'localhost',
> 'PORT': '5432',
> }
> }
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a6a47561-8970-422d-8265-e9534171828a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.