diff options
author | Jessica Tallon <tsyesika@tsyesika.se> | 2016-01-19 09:17:12 +0000 |
---|---|---|
committer | Jessica Tallon <tsyesika@tsyesika.se> | 2016-01-20 07:17:19 +0000 |
commit | 8de5a9319ae7553169fb51d368c5366d6f54fe14 (patch) | |
tree | d7943405fd506c5945033ea3e7996783d2084d47 /mediagoblin/db/migration_tools.py | |
parent | 8b4645dfd4c8400a975ebd970ec46dff02182034 (diff) | |
download | mediagoblin-8de5a9319ae7553169fb51d368c5366d6f54fe14.tar.lz mediagoblin-8de5a9319ae7553169fb51d368c5366d6f54fe14.tar.xz mediagoblin-8de5a9319ae7553169fb51d368c5366d6f54fe14.zip |
Fix #5390 - Create migration to delete Notifications and fix Report
When a user deleted media or other objects any notificationn objects or reports
would cause errors as the object doesn't exist anymore. This now removes them or
sets them to None as expected by the code. This also adds some code to the base
deletion code to make sure this happens when an object is deleted.
Diffstat (limited to 'mediagoblin/db/migration_tools.py')
0 files changed, 0 insertions, 0 deletions