How to convert for loop to ORM in python django

前端 未结 0 653
我寻月下人不归
我寻月下人不归 2021-01-28 23:15

I have these models:

class Employee(models.Model):
id = models.AutoField(primary_key=True)
user = models.OneToOneField(User, on_delete=models.CASCADE)
title = mod         


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