Nifty Django Feature: F Expressions

Nifty Django Feature: F Expressions

Articles

F expressions let Django update a model field based on the current value stored in the database, not a value pulled into Python. Use them to avoid “read then write” patterns and keep concurrent updates from stepping on each other.