django-filters returns two the same models when an instance of a model has the same value

后端 未结 0 1585
执念已碎
执念已碎 2021-02-11 01:38

Here is my code;

models.py

class Home(models.Model):
    user = models.ForeignKey(User, on_delete=models.CASCADE)
    def __str__(self):
          


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