mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Add new line functionality for vehicles/drivers
Might it have been easier to create 'dummy' models like with EventItems? Probably...
This commit is contained in:
@@ -234,9 +234,10 @@ class ActivityTable(generic.ListView):
|
||||
|
||||
return context
|
||||
|
||||
|
||||
# TODO Defined by the model, rather than with this list
|
||||
def models_for_feed():
|
||||
return [models.Event, models.Venue, models.Person, models.Organisation, models.EventAuthorisation, models.RiskAssessment, asset_models.Asset, asset_models.Supplier]
|
||||
return [models.Event, models.Venue, models.Person, models.Organisation, models.EventAuthorisation, models.RiskAssessment, models.EventChecklist,
|
||||
asset_models.Asset, asset_models.Supplier]
|
||||
|
||||
|
||||
# Appears on homepage
|
||||
|
||||
Reference in New Issue
Block a user