Fixed #2323 -- Made it possible to run make-messages without needing a
DJANGO_SETTINGS_FILE setting. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
0016547e9b
commit
271093d3b3
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
# Need to ensure that the i18n framework is enabled
|
||||||
|
from django.conf import settings
|
||||||
|
settings.configure(USE_I18N = True)
|
||||||
|
|
||||||
from django.utils.translation import templatize
|
from django.utils.translation import templatize
|
||||||
import re
|
import re
|
||||||
import os
|
import os
|
||||||
|
|
Loading…
Reference in New Issue