Alright! Thanks much! On Sun, 24 Jun 2018, 6:56 pm Melvyn Sopacua, <[email protected]> wrote:
> On zaterdag 23 juni 2018 21:10:27 CEST Saloni Kalra wrote: > > Thank you for your reply. I removes all the migrations and dropped the > > database. Now when I try to make migrations i get the following error in > my > > terminal. > > Thanks and regards, > > Saloni > > > > *Error:* > > accounts.User.user_ptr: (fields.E301) Field defines a relation with the > > model 'auth.User', which has been swapped out. > > HINT: Update the relation to point at 'settings.AUTH_USER_MODEL'. > > I suggest you read and understand this entire section: > > https://docs.djangoproject.com/en/2.0/topics/auth/customizing/#auth-custom-user > > > -- > Melvyn Sopacua > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/5782852.cBHu3mGn29%40fritzbook > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMO5YApG7BWohc4k%3D8Jv2eH6gXjSYvOT0mOZwzvnzs1C40K0kw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

