PCv5/app/models
Lephe cf9cb8a8c6
forum: add true, recursive deletion methods
Each object has a .delete() which removes it and its owned subcontents.
This delete() unfortunately has to commit the database session because
circularly-dependent objects (such as a thread and its top comment)
cannot be deleted together; two commits are needed.
2020-11-01 10:49:24 +01:00
..
__init__.py programs: add models for programs and topic promotions (#20) 2020-08-01 15:11:19 +02:00
attachment.py attachments: added attachments system 2020-08-01 21:26:06 +02:00
comment.py forum: add true, recursive deletion methods 2020-11-01 10:49:24 +01:00
forum.py forum: add true, recursive deletion methods 2020-11-01 10:49:24 +01:00
notification.py model: minor convention updates 2019-11-21 15:31:46 +01:00
post.py fix: better PEP8 2020-08-05 22:52:56 +02:00
priv.py refact: models files are nom uniform (all singular) 2020-08-06 21:19:01 +02:00
program.py fix: better PEP8 2020-08-05 22:52:56 +02:00
thread.py forum: add true, recursive deletion methods 2020-11-01 10:49:24 +01:00
topic.py forum: add true, recursive deletion methods 2020-11-01 10:49:24 +01:00
trophy.py refact: models files are nom uniform (all singular) 2020-08-06 21:19:01 +02:00
user.py refact: models files are nom uniform (all singular) 2020-08-06 21:19:01 +02:00