How to fix QuerySet' object has no attribute 'userrole_set' in django?

前端 未结 0 1162
失恋的感觉
失恋的感觉 2020-12-18 02:01

When I Adds the specified model objects to the related object set. Like as

My view.py:

role = UserRole.objects.get(id=user_role_id)
s = SbTitle.objects         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题