In models.py in onetoone field remove User from quotes. It is now 'User' make it to User and try once.
On Thu 28 Nov, 2019, 9:41 AM MEGA NATHAN, <cloudnathan1997@gmail.com> wrote:
Hi.--PS C:\Users\Meghanathan\Desktop\django\django_levelfive\learning_users> python manage.py migrate basic_appSystemCheckError: 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 .RegardsMeganathan 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+unsubscribe@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.
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFzCJgntsSoASMLzCGmG%3D6Zhqtd1f%2BNf95oOvtE1%2BQWq6BJwdQ%40mail.gmail.com.
No comments:
Post a Comment