I am wondering if it is something to do with how you have set up your postgres database?

After
pip install Django==1.7.7
pip install git+https://github.com/stephenmcd/mezzanine.git <https://github.com/stephenmcd/mezzanine.git>

you need
pip install psycopg2

Then in local_settings.py something like

DATABASES = {
    "default": {
        # Ends with "postgresql_psycopg2", "mysql", "sqlite3" or "oracle".
        "ENGINE": "django.db.backends.postgresql_psycopg2",
        # DB name or path to database file if using sqlite3.
        "NAME": "your_database_name",
        # Not used with sqlite3.
        "USER": "your_database_user_name",
        # Not used with sqlite3.
        "PASSWORD": "your_password",
        # Set to empty string for localhost. Not used with sqlite3.
        "HOST": "localhost",
        # Set to empty string for default. Not used with sqlite3.
        "PORT": "5432",
    }
}

psql
CREATE DATABASE your_database_name WITH OWNER your_database_user_name;


python manage.py createdb
g


thanks a lot, this unfortunately gives the same problem. It seems to be related to postgres. If I create the database using sqlite I see in the log

/Creating default account (username: admin / password: default) ...
/
this line does not appear if I specify my postgres settings in local-settings.py

Thanks a lot
Gerhard


Am Donnerstag, 23. April 2015 20:09:18 UTC+2 schrieb Graham Oliver:

    In a new virtualenv

    pip install Django==1.7.7
    pip install git+https://github.com/stephenmcd/mezzanine.git
    <https://github.com/stephenmcd/mezzanine.git>

    try that
    g

    On 24/04/15 00:16, [email protected] <javascript:> wrote:
    Hi all,

    I am new to this list but trying out Mezzanine since a few weeks.
    I am interested in multi language sites and according my
    understandin Mezzanine 3.1.10 does not yet support this. I found
    a comment that

     pip install -e
    git+https://github.com/stephenmcd/mezzanine.git#egg=Mezzanine
    <https://github.com/stephenmcd/mezzanine.git#egg=Mezzanine>

    is a workaround till the next package will be made. I already got
    ist working a few weeks ago with the standard admin/default
    login. Today I did the same procedure again but unfortunately the
    them login did not work.

    I am working under Ubuntu 14.04LTS, postgres and Django 1.7.7.  I
    deinstalled the automatically setup Django 1.8 (as at least the
    deompages did not appear) and intslled Django1.7.7 I am wihin a
    virtualenv. Any help is very much appreciated

    Thanks a lot
    Gerhard



-- 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 [email protected] <javascript:>.
    For more options, visit https://groups.google.com/d/optout
    <https://groups.google.com/d/optout>.

-- T : 021 081 71732

--
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 [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.

--
T : 021 081 71732

--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to