对象列表没有'_meta'属性

单独的对象才有, 忘记加first了

edit_obj = models.Role.objects.filter(pk=edit_id).first()

 

相关文章:

  • 2021-10-23
  • 2021-04-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-01
  • 2022-02-20
  • 2022-02-28
  • 2021-10-26
  • 2021-10-09
  • 2021-10-07
相关资源
相似解决方案