On 29/07/2015 5:23 PM, Bhavani Shankar wrote:
I figured there's a problem in detecting the postgresql database. I went
to local_settings.py and saw that the user and name of the database were
set to the project's name. (different from my local machine) How can I
fix this?

In settings.py you need something like this ...

DATABASES = {
    'default': {
        'ENGINE':   'django.db.backends.postgresql_psycopg2',
        'NAME':     'project-name',
        'USER':     'User',
        'PASSWORD': 'secret',
        'HOST':     'dbserver-host',
        'PORT':     '5432',
    }
}

See Django docs for full detail


--
You received this message because you are subscribed to the Google
Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to mezzanine-users+unsubscr...@googlegroups.com
<mailto:mezzanine-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to