Skip to content
Browse files

Fixed #13170: Make get_level and set_level importable from django.con…


as documented. Thanks dm, SmileyChris, tobias.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 3f4fef4 commit 8661cb9bd38c29af35d785c98d0008323a1734b1 @kmtracey kmtracey committed
Showing with 3 additions and 2 deletions.
  1. +1 −0 django/contrib/messages/
  2. +2 −2 django/contrib/messages/tests/
1 django/contrib/messages/
@@ -4,6 +4,7 @@
__all__ = (
'add_message', 'get_messages',
+ 'get_level', 'set_level',
'debug', 'info', 'success', 'warning', 'error',
4 django/contrib/messages/tests/
@@ -2,8 +2,8 @@
from django.test import TestCase
from django.conf import settings
from django.utils.translation import ugettext_lazy
-from django.contrib.messages import constants, utils
-from django.contrib.messages.api import MessageFailure, get_level, set_level
+from django.contrib.messages import constants, utils, get_level, set_level
+from django.contrib.messages.api import MessageFailure
from import default_storage, base
from import Message
from django.core.urlresolvers import reverse

0 comments on commit 8661cb9

Please sign in to comment.
Something went wrong with that request. Please try again.