Selectable list of users in Django?

前端 未结 0 745
臣服心动
臣服心动 2021-02-06 05:53

models.py

class EmployeeReportRequestForm(forms.Form):
    
    EMPLOYEECHOICE = []
    employees = User.objects.filter(group_name=\'rep\')

    for employee in         


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