mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 11:21:26 +00:00
update only changed fields optimisation now done
This commit is contained in:
@@ -329,7 +329,7 @@ class Wallet(models.Model):
|
||||
return None
|
||||
else:
|
||||
self.walletyear = datetime.date(year, 1, 1)
|
||||
self.save()
|
||||
self.save(update_fields=["walletdate"])
|
||||
return str(year)
|
||||
|
||||
# Yes this is horribly, horribly inefficient, esp. for a page that have date, people and cave in it
|
||||
|
||||
Reference in New Issue
Block a user