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:
Malcolm Tredinnick 2006-07-19 12:09:53 +00:00
parent 0016547e9b
commit 271093d3b3
1 changed files with 4 additions and 0 deletions

View File

@ -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