You can now delete the account in the profile settings
Also profile images associated with the user will be removed from the file system
+ fixed that HabitList deletion doesn't cause Habit Deletion
I'm done, this is the now complete code for the models and all.
To make it short:
- made some renaming that was necessary, HabitTrackings -> HabitTracking because every goddamn class is singular and not plural
- made the deletion process everywhere the same (Habit Deletion now handles the HabitTracking deletion inside the model and not through Sqlite.py)
- Some much needed comments
- Some adjustments to the HabitLists, nothing big, plus addition of update
- Also as a question, why does the HabitList have a redundant habits attribute, for now i marked this issue in the code to not forget it
These adjustments address a lot of the current problems with the models, mainly the deletion process but also the addition of a add_user and remove_user function for the HabitLists.
In addition a lot of inconsistencies over the whole code were fixed and readjusted.
Thx for reading