From c7a5551fb5c12fd617ef3383f9e384f9c31b9df8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sat, 2 Apr 2016 11:45:25 +0800 Subject: [PATCH] Fix the blog_delete page for admins. * mediagoblin/media_types/blog/views.py: Import WARNING from mediagoblin.messages. --- mediagoblin/media_types/blog/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediagoblin/media_types/blog/views.py b/mediagoblin/media_types/blog/views.py index a547522c..4b6ea7b7 100644 --- 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) -- 2.25.1