Author: mtredinnick
Date: 2006-07-19 07:09:53 -0500 (Wed, 19 Jul 2006)
New Revision: 3374

Modified:
   django/trunk/django/bin/make-messages.py
Log:
Fixed #2323 -- Made it possible to run make-messages without needing a
DJANGO_SETTINGS_FILE setting.


Modified: django/trunk/django/bin/make-messages.py
===================================================================
--- django/trunk/django/bin/make-messages.py    2006-07-19 10:14:43 UTC (rev 
3373)
+++ django/trunk/django/bin/make-messages.py    2006-07-19 12:09:53 UTC (rev 
3374)
@@ -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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to