Skip to content

Commit 76cf995

Browse files
author
fschwarz
committed
babel extractor should not set up Django's i18n stack to prevent exception (fixes #215, patch by Christopher Grebs)
git-svn-id: http://svn.edgewall.org/repos/babel/contrib/django@609 59ecc08e-a131-0410-9ea7-d4c0f28ac310
1 parent 2f518da commit 76cf995

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

babeldjango/extract.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313

1414
from babel.core import *
1515

16-
from django.conf import settings
17-
settings.configure(USE_I18N=True)
1816
from django.template import Lexer, TOKEN_TEXT, TOKEN_VAR, TOKEN_BLOCK
1917
from django.utils.translation.trans_real import inline_re, block_re, \
2018
endblock_re, plural_re, \

0 commit comments

Comments
 (0)