MCPcopy
hub / github.com/photonixapp/photonix / save

Method save

photonix/common/models.py:21–26  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

19 abstract = True
20
21 def save(self, *args, **kwargs):
22 now = timezone.now()
23 if not self.created_at:
24 self.created_at = now
25 self.updated_at = now
26 super(VersionedModel, self).save()

Callers 15

mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80
mutateMethod · 0.80

Calls

no outgoing calls

Tested by 2

defaults_valuesMethod · 0.64