其他分享
首页 > 其他分享> > ValueError: Related model 'users.UserProfile' cannot be resolved

ValueError: Related model 'users.UserProfile' cannot be resolved

作者:互联网

初次格式化数据库表,出现:

ValueError: Related model 'users.UserProfile' cannot be resolved

解决办法:

  1.python manage.py makemigrations --empty users
  2.python manage.py makemigrations
  3.python manage.py migrate users
  4.python manage.py migrate



 

标签:resolved,manage,users,makemigrations,python,py,Related
来源: https://www.cnblogs.com/bk770466199/p/11674953.html