Start to use the media_id in "admin" URLs.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 11 Jan 2013 13:18:27 +0000 (14:18 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 11 Jan 2013 20:48:03 +0000 (21:48 +0100)
commit461dd9717cce6c5b4d40bb4e76ca65d9d898d1df
tree9b55136a4c5353ed3e65dc6c82f7ecad7d2cd784
parent8b271c28bd4c0b9c90990d87c1dfd0d8d95b9e45
Start to use the media_id in "admin" URLs.

We have a bunch of URLs that are more for internal use. At
least they're definitely not intended to be posted
somewhere for long term useage.

When those things affect a media, it's much better to
reference the media by its id. This can't change, ever.
This is better for races.
Like someone posting a comment while the owner
corrects a typo in the slug.
mediagoblin/decorators.py
mediagoblin/edit/views.py
mediagoblin/templates/mediagoblin/edit/edit.html
mediagoblin/templates/mediagoblin/user_pages/media.html
mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
mediagoblin/tests/test_submission.py
mediagoblin/user_pages/routing.py
mediagoblin/user_pages/views.py