diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-07-02 20:18:44 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-07-02 20:18:44 +0200 |
commit | d6b7834cf3e87e37b43008625023cbdcf952d616 (patch) | |
tree | 390a570d4a46e3df86ef901f6f64dbdbc3392630 /tests/testutils.py | |
parent | 6aab39649de60aaac0ec19f123d482202bf5883b (diff) | |
download | fietsboek-d6b7834cf3e87e37b43008625023cbdcf952d616.tar.gz fietsboek-d6b7834cf3e87e37b43008625023cbdcf952d616.tar.bz2 fietsboek-d6b7834cf3e87e37b43008625023cbdcf952d616.zip |
add better cascading for ORM objects
This prevents "weird" objects from lingering around. Now, if a user is
deleted, their tracks are also being deleted - which is good, especially
for the user's privacy.
For a more "graceful" closing of the account, we could implement a
strategy that first re-assigns the tracks to a different owner, and then
deletes the account. But that may only happen with the consent of the
user, and it is a work for future improvements.
Diffstat (limited to 'tests/testutils.py')
0 files changed, 0 insertions, 0 deletions