-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
questionFurther information is requestedFurther information is requestedrefactorImprovements to the codebase that do not directly affect usersImprovements to the codebase that do not directly affect users
Description
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.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requestedrefactorImprovements to the codebase that do not directly affect usersImprovements to the codebase that do not directly affect users