Skip to content

Attempt at BusStop and BusShift implementation#46

Open
giuseppedeponte wants to merge 1 commit intoOptiways:masterfrom
giuseppedeponte:master
Open

Attempt at BusStop and BusShift implementation#46
giuseppedeponte wants to merge 1 commit intoOptiways:masterfrom
giuseppedeponte:master

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