Saturday, October 11, 2014

Re: Postgres database server


On Oct 11, 2014, at 10:10 AM, sheyda kianimehr <sheyda.km@gmail.com> wrote:

Hi guys I have a problem.
I am so new in Django and Postgres

I am installed python, django, postgres on Ubuntu (acording to https://docs.djangoproject.com/en/1.7/intro/tutorial01/)
but I have problem in seting up The development server,
I see password for postgres user error after typing this is my Terminal
python manage.py runserver

I put a password in setting.py file but it doesn’t work yet.
Are you sure that you are accessing the database through django the way the database expects?

You should be able to access your database through the command line:

psql -U your_db_username dbname

Send your DATABASES variable from the settings file and we might have some more suggestions.

hth

- Tom

No comments:

Post a Comment