Fix #5376 - Ensure links have correct ID
authorJessica Tallon <tsyesika@tsyesika.se>
Tue, 1 Mar 2016 11:58:38 +0000 (11:58 +0000)
committerJessica Tallon <tsyesika@tsyesika.se>
Tue, 1 Mar 2016 12:04:08 +0000 (12:04 +0000)
commit161bc6b2c18f2d20eb759725b2df7fc7ac4a2728
tree7e10e43dcc6fcd85e8f9e366f2e10dd0152745bc
parent1db8690fe9dc625bc648e04493d075cad76689cc
Fix #5376 - Ensure links have correct ID

This ensures that links to comments have the correct ID (the
ID of the Comment object) as well as fixing deletion on reports
and fixing a few other little things. I hope this fixes the #5376
issue, though cannot reproduce so unable to confirm.
mediagoblin/db/base.py
mediagoblin/db/models.py
mediagoblin/moderation/tools.py
mediagoblin/notifications/__init__.py
mediagoblin/templates/mediagoblin/user_pages/media.html
mediagoblin/tests/test_api.py
mediagoblin/tests/test_misc.py