ICode9

精准搜索请尝试: 精确搜索
首页?>?其他分享> 文章详细

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

2019-10-14 23:55:53??阅读:10??来源: 互联网

标签:resolved?manage?users?makemigrations?python?py?Related


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

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

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有