aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_sql_migrations.py
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-05 13:42:00 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2012-12-05 13:55:31 +0100
commite2ae0f59202e39f996cd796e42420e061eebf8d1 (patch)
tree2f8d4f0bebefd8896b8eed1f1e56210bdbeca59c /mediagoblin/tests/test_sql_migrations.py
parent64c2a4002c261c01c50f333a8aa8dc5c223e79c9 (diff)
downloadmediagoblin-e2ae0f59202e39f996cd796e42420e061eebf8d1.tar.lz
mediagoblin-e2ae0f59202e39f996cd796e42420e061eebf8d1.tar.xz
mediagoblin-e2ae0f59202e39f996cd796e42420e061eebf8d1.zip
Fix user collection gallery
We were fetching the user collection gallery by slug only, so if two users had the same collection slug, we would not have been sure which one we'd get. Fix this by explicitly only fetching the specific user's collections. Also switch over the view function to make use of the new active_user_from_url decorator that fetches the User() object for us. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'mediagoblin/tests/test_sql_migrations.py')
0 files changed, 0 insertions, 0 deletions