projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f7ff8
)
Fix issue 5367 Edit view updates
author
ayleph
<ayleph@thisshitistemp.comm>
Sun, 6 Dec 2015 19:54:32 +0000
(14:54 -0500)
committer
Jessica Tallon
<tsyesika@tsyesika.se>
Wed, 6 Jan 2016 16:11:52 +0000
(16:11 +0000)
This commit fixes issue 5367 by updating the edit view to be compatible
with recent db migrations.
Signed-off-by: Jessica Tallon <tsyesika@tsyesika.se>
mediagoblin/edit/views.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/edit/views.py
b/mediagoblin/edit/views.py
index 45cc0fb94f42dbef8b395eda9dbd379ecacf8da1..00c611573dcf020d41b3e243961aa2385f2af822 100644
(file)
--- a/
mediagoblin/edit/views.py
+++ b/
mediagoblin/edit/views.py
@@
-91,7
+91,7
@@
def edit_media(request, media):
return redirect_obj(request, media)
if request.user.has_privilege(u'admin') \
- and media.
uploade
r != request.user.id \
+ and media.
acto
r != request.user.id \
and request.method != 'POST':
messages.add_message(
request, messages.WARNING,