feriennet.cli
Attributes
Functions
| 
 | Deletes all the data associated with a period, including: | 
| Recomputes the durations of all occassions. | 
Module Contents
- feriennet.cli.delete_period(title: str) collections.abc.Callable[[onegov.feriennet.request.FeriennetRequest, onegov.feriennet.app.FeriennetApp], None][source]
- Deletes all the data associated with a period, including: - Payments 
- Bookings 
- Occasions 
- Publication Requests 
- Tickets 
 - We usually don’t allow for this, but there tends to be a request here and there about this, where a Ferienpass created a period for testing and tries to return to a semi-clean state. - Example: - onegov-feriennet --select /foo/bar delete-period "Ferienpass Test"