Skip to content

Commit 0408885

Browse files
committed
babel extractor should not set up Django's i18n stack to prevent exception (fixes #215, patch by Christopher Grebs)
1 parent 0752240 commit 0408885

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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)