Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit 271093d3b31cbee9e8042a43675e76507d4501e0 1 parent 0016547
Malcolm Tredinnick authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  django/bin/make-messages.py
4  django/bin/make-messages.py
... ...
@@ -1,5 +1,9 @@
1 1
 #!/usr/bin/env python
2 2
 
  3
+# Need to ensure that the i18n framework is enabled
  4
+from django.conf import settings
  5
+settings.configure(USE_I18N = True)
  6
+
3 7
 from django.utils.translation import templatize
4 8
 import re
5 9
 import os

0 notes on commit 271093d

Please sign in to comment.
Something went wrong with that request. Please try again.