summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2006-07-19 12:09:53 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2006-07-19 12:09:53 +0000
commit271093d3b31cbee9e8042a43675e76507d4501e0 (patch)
treed028538dbc94af1b3357cb553b2f4a0deebc88c9 /django
parent0016547e9b29db789c416fab74f39561db4e75ef (diff)
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
Diffstat (limited to 'django')
-rwxr-xr-xdjango/bin/make-messages.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/django/bin/make-messages.py b/django/bin/make-messages.py
index 75b0bc0ca0..557cb5eeec 100755
--- a/django/bin/make-messages.py
+++ b/django/bin/make-messages.py
@@ -1,5 +1,9 @@
#!/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
import re
import os