When media is deleted, delete associated comments too.
authorBrett Smith <brettcsmith@brettcsmith.org>
Sat, 17 Mar 2012 21:53:00 +0000 (17:53 -0400)
committerBrett Smith <brettcsmith@brettcsmith.org>
Sat, 17 Mar 2012 21:53:00 +0000 (17:53 -0400)
commita0a7f87f625ca29ccddc123eb6540aa15a779eb7
tree1b8eae477b57c91627095d5040644c26e1560716
parent416b439fc883a570902edd094b44f310d66e849c
When media is deleted, delete associated comments too.

The actual code is just a simple for loop; there might be a better
implementation but this is a fine start.  I also extended test_delete to
check this too.
mediagoblin/tests/test_submission.py
mediagoblin/user_pages/views.py