Hi to all, 

my site is broken after updating to mezzanine 4.1 from 4.0.1 (python 2.7). 
Brings an error saying "Models aren't loaded yet".
This ist caused by the statement

User = get_user_model() 
in mezzanine/utils/tests.py

when i change that to

from django.conf import settings
try:
    from django.contrib.auth import get_user_model
    User = settings.AUTH_USER_MODEL
except ImportError:
    from django.contrib.auth.models import User 

there is no problem. Cause nobody else is complaining, maybe i'm doing 
something wrong? Or should this be changed...

Hints welcome, thanks Christian

-- 
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