Added creation and last edit entries. Plan to use for recent changes when sending out to companies.

Small cleanups
This commit is contained in:
John Mullins
2023-08-29 12:44:42 +10:00
parent 0c8de0285a
commit 51eec5257b
4 changed files with 7 additions and 14 deletions
+3
View File
@@ -225,6 +225,9 @@ class Traveller(models.Model):
emergency_contact_B_lastname = models.CharField(max_length=50, blank=True)
emergency_contact_B_phone = models.CharField(max_length=15, blank=True)
emergency_contact_B_relation = models.CharField(max_length=50, choices=RELATIONS, blank=True)
created_on = models.DateTimeField(auto_now_add=True, blank=True, null=True)
last_edit = models.DateTimeField(auto_now=True, blank=True, null=True)
notes = models.TextField(blank=True, verbose_name='Admin Notes')
shuttle = models.ForeignKey(Shuttle, on_delete=models.SET_NULL, blank=True, null=True)