Implement simple media detail page
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Sun, 8 May 2011 18:35:54 +0000 (20:35 +0200)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 10 May 2011 21:01:43 +0000 (16:01 -0500)
commit9a16e16ffa9c0477bec6ea0bf1db7efd6f988638
tree5dbbba02cb40cd23be76489a159d4718f66c8aa4
parent9d97145fe40cc2a7bce298cad618374375ad4d8b
Implement simple media detail page

This patch creates a "homepage" for each media. The URL is
/u/<username>/m/<objID>.

On it we display the media and some details. It is ugly and lacking some
stuff but it works. The only thing left to do is to throw an 404 error
if the <username> and the media uploader don't correspond.

- Also create a user "home page" while at it. It is merely a place
  holder for now though.

- Link from the entries on the homepage, to the media pages, so we
actually find them.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
mediagoblin/routing.py
mediagoblin/templates/mediagoblin/media_details.html [new file with mode: 0644]
mediagoblin/templates/mediagoblin/root.html
mediagoblin/templates/mediagoblin/user_pages/media.html [new file with mode: 0644]
mediagoblin/templates/mediagoblin/user_pages/user.html [new file with mode: 0644]
mediagoblin/user_pages/__init__.py [new file with mode: 0644]
mediagoblin/user_pages/routing.py [new file with mode: 0644]
mediagoblin/user_pages/views.py [new file with mode: 0644]
mediagoblin/views.py