aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/models.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-10 16:36:31 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-10 16:36:31 +0100
commitd4431a7c4a31b05356fd1efc9e5cc91dda58ad4b (patch)
treec4b309e0cf8e4107d2bf6b89c2310b6b4a5849ae /ctrack/register/models.py
parentec66703476712e4c63990ff5cb3b6a72e92cb7bb (diff)
small tidy
Diffstat (limited to 'ctrack/register/models.py')
-rw-r--r--ctrack/register/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctrack/register/models.py b/ctrack/register/models.py
index c94e440..949c8d0 100644
--- a/ctrack/register/models.py
+++ b/ctrack/register/models.py
@@ -34,6 +34,7 @@ class AuditableEventBase(models.Model):
abstract = True
def save(self, *args, **kwargs):
+ """Overriding so we can save the dates in here."""
if not self.pk:
self.created_date = datetime.datetime.now()
self.modified_date = datetime.datetime.now()