projects
/
mediagoblin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eface4e
)
Fix the blog_delete page for admins.
author
宋文武
<iyzsong@gmail.com>
Sat, 2 Apr 2016 03:45:25 +0000
(11:45 +0800)
committer
Berker Peksag
<berker.peksag@gmail.com>
Sat, 2 Apr 2016 13:59:08 +0000
(16:59 +0300)
* mediagoblin/media_types/blog/views.py: Import WARNING from mediagoblin.messages.
mediagoblin/media_types/blog/views.py
patch
|
blob
|
blame
|
history
diff --git
a/mediagoblin/media_types/blog/views.py
b/mediagoblin/media_types/blog/views.py
index a547522ce8ed182451719a1f9b8bb3c24ce57c35..4b6ea7b718f782df4e9d4943531a962806b7ec90 100644
(file)
--- a/
mediagoblin/media_types/blog/views.py
+++ b/
mediagoblin/media_types/blog/views.py
@@
-32,7
+32,7
@@
from mediagoblin.media_types.blog.lib import (
may_edit_blogpost, set_blogpost_state, get_all_blogposts_of_blog,
get_blog_by_slug)
-from mediagoblin.messages import add_message, SUCCESS, ERROR
+from mediagoblin.messages import add_message, SUCCESS, ERROR
, WARNING
from mediagoblin.decorators import (require_active_login, active_user_from_url,
get_media_entry_by_id, user_may_alter_collection,
get_user_collection, uses_pagination)