.order_by("-rating")
                  
                  
                          .filter(SellerProfile.created_at!=SellerProfile.update_at)
                  
                  
                
SellerProfile.objects.exclude(created_at=update_at).order_by("-rating")
SellerProfile.objects.exclude(created_at=F('update_at')).order_by("-rating")
точно, мой вариант не верный
Обсуждают сегодня