diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2011-05-11 08:39:57 +0200 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-05-12 23:10:21 -0500 |
commit | 7acdbfd36457720789c183260424e0f78139211a (patch) | |
tree | 32d41524cefc9103cf7f5f55fda824f7dbdbb518 /bootstrap.py | |
parent | b77eec653df14059296fc3185ff9817edfa0825b (diff) | |
download | mediagoblin-7acdbfd36457720789c183260424e0f78139211a.tar.lz mediagoblin-7acdbfd36457720789c183260424e0f78139211a.tar.xz mediagoblin-7acdbfd36457720789c183260424e0f78139211a.zip |
Improve user homepage
1) Only consider user's with 'status': 'active'. We don't want to
display unconfirmed/blocked users, right?
2) Actually query user's media in the view and display on their home
page.
3) Throw an error 404 if we don't find a valid user, rather than saying,
"User not found" (from within the template).
4) Pass in medias as media_entries to remain compatible with the 'root'
page.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'bootstrap.py')
0 files changed, 0 insertions, 0 deletions