svpbde / svpb

Some simple Django webapps for our sailing club
Apache License 2.0
0 stars 0 forks source link

Add command to clean database at year end #31

Open transistortim opened 9 months ago

transistortim commented 9 months ago

Leistungen, Zuteilungen and Meldungen have to be removed at year end (Aufgaben are kept as starting point for the new year).

We could add a command to simplify this cleaning step (currently done manually via dbshell, also there's no documentation on this).

transistortim commented 9 months ago

Also, all sessions should be removed. This seems to not have been "abused" in the past, but in the current year it happened that somebody logged in before login deactivation and was able to submit a Meldung 5 days later from his still valid session...