Hello friend, I see the Error : in line six do this - user = models.OneToOneField(User, on_delete=models.CASCADE) and in the __str__ function - return self.user.username
Thanks, let us know if this works. [image: Mailtrack] <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> Sender notified by Mailtrack <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> 11/28/19, 07:05:21 AM Le jeu. 28 nov. 2019 à 04:11, MEGA NATHAN <cloudnathan1...@gmail.com> a écrit : > Hi. > > > > PS C:\Users\Meghanathan\Desktop\django\django_levelfive\learning_users> > python manage.py migrate basic_app > SystemCheckError: System check identified some issues: > > ERRORS: > basic_app.UserProfileInfo.User: (fields.E300) Field defines a relation > with model 'User', which is either not installed, or is abstract. > basic_app.UserProfileInfo.User: (fields.E307) The field > basic_app.UserProfileInfo.User was declared with a lazy reference to > 'basic_app.user', but app 'basic_app' doesn't provide model 'user'. > PS C:\Users\Meghanathan\Desktop\django\django_levelfive\learning_users> > > And i have attached the snipscreen blow . > > Regards > Meganathan G, > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/164892b0-aaba-4b55-b864-3cdbce1c0f20%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/164892b0-aaba-4b55-b864-3cdbce1c0f20%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Ousseynou Diop Software developer | Python rock | open source enthusiast Portfolio : www.ousseynou.com <https://ousseynoudiop.com/> Instructor : www.xarala.tech <https://xarala.tech> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANmVVwffPWKiJgJzE9b5BM2sVVc7aLtM6q0d0vngSenHdN%3DbOg%40mail.gmail.com.