Skip to content

Conversation

@giuseppedeponte
Copy link

Changes :

  • Create fleet.BusStop and fleet.BusShift models (plus BusShiftScheduledStop custom through model)
  • Move fleet/admin.pyto fleet/admin folder, add a panel for the BusShift model, and inline and a custom formset for adding BusShiftScheduledStop instances to a shift - the formset validates that the current shift does not overlaps with another shift for the same bus or driver
  • Add a BusStopFactory and a command to generate bus stop fixtures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant