projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
256f816
)
Fixed post-collect redirect to always take user to image collected.
author
Aaron Williamson
<aaron@copiesofcopies.org>
Tue, 18 Sep 2012 15:16:26 +0000
(11:16 -0400)
committer
Joar Wandborg
<git@wandborg.com>
Tue, 18 Sep 2012 16:10:36 +0000
(18:10 +0200)
mediagoblin/user_pages/views.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/user_pages/views.py
b/mediagoblin/user_pages/views.py
index 187bba96393a7aec75a077150f56af2795909347..416103361ec00b9ba3e01f6b0340013f596449a1 100644
(file)
--- a/
mediagoblin/user_pages/views.py
+++ b/
mediagoblin/user_pages/views.py
@@
-248,7
+248,7
@@
def media_collect(request, media):
request, messages.SUCCESS, _('"%s" added to collection "%s"' % (media.title, collection.title)))
return redirect(request, "mediagoblin.user_pages.media_home",
- user=
request.us
er.username,
+ user=
media.get_upload
er.username,
media=media.id)
else:
messages.add_message(