Identify why Django `F` fields are broken
Đang mở
@CarrotManMatt đang làm issue này rồi.
Từ ngày 12/5/2025.
question
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 11
- Merge trung bình
- 20 giờ 7 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
Using Django's F fields to optimise the SQL queries made in a Model.aupdate() operation seems to result in the following error: 'strikes': ["F(strikes) - Value(1)" value must be an integer for both places.]. This has resulted in the need to use an update to the field's value in Python, along with a call to Model.asave() which is less efficient & performant.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.