On Tue, Jul 8, 2014 at 12:54 PM, Frank Bieniek < frank.bien...@produktlaunch.de> wrote:
> Hi Marc, > > this should fix it: > > File "/home/orchestra/django-orchestra/orchestra/apps/accounts/models.py", >> line 9, in Account >> user = models.OneToOneField(get_user_model(), >> related_name='accounts') >> > change it to: > > user = models.OneToOneField(settings.AUTH_USER_MODEL, > related_name='accounts') > > Simply do not use get_user_model() in model definitions. > Good fix Frank, thank you very much!! -- Marc -- 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BDCN_u77dQySyR%3DYU1xzioskPJU6WOSsyukj70eAtWERFL9gg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.