Use media.url_for_self() instead of generating it
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 9 Sep 2011 21:59:32 +0000 (23:59 +0200)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 9 Sep 2011 21:59:32 +0000 (23:59 +0200)
commit8d7b549bb6d17c66ce1d3590da6e9bd0868b4403
treee23eae703929442e9fb402abde707ab0f3d36726
parentf373599bd745b7afa58013c4b6a17d1c59769cdb
Use media.url_for_self() instead of generating it

Some places used to generate the URL for a media entry on
their own instead of calling media.url_for_self() to do
that. The later handles missing slugs better.
mediagoblin/edit/views.py
mediagoblin/user_pages/views.py