diff --git a/django/utils/translation/__init__.py b/django/utils/translation/__init__.py index 54e1244c23..db159d2ef0 100644 --- a/django/utils/translation/__init__.py +++ b/django/utils/translation/__init__.py @@ -23,6 +23,7 @@ __all__ = [ LANGUAGE_SESSION_KEY = '_language' + class TranslatorCommentWarning(SyntaxWarning): pass