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 -1
View File
@@ -136,7 +136,7 @@ class TravellerAdmin(MyImportExportModelAdmin, CloneModelAdmin, admin.ModelAdmin
"emergency_contact_A_relation", "emergency_contact_B_firstname", "emergency_contact_B_lastname",
"emergency_contact_B_phone", "emergency_contact_B_relation"]
inlines = [TravellerRouteInline]
readonly_fields = ["fare_paying"]
readonly_fields = ["fare_paying", "created_on", "last_edit"]
fieldsets = [
(None, {
'fields': [
@@ -172,6 +172,8 @@ class TravellerAdmin(MyImportExportModelAdmin, CloneModelAdmin, admin.ModelAdmin
"application_form_completed",
"parent_notified",
"seat_number",
"created_on",
"last_edit",
]
}),
('Adult Contacts', {