#3955: compile-messages.py could use LOCALE_PATHS from settings.py
-------------------------------------------------+--------------------------
Reporter: Olivier Ricou <[EMAIL PROTECTED]> | Owner:
semenov
Status: reopened | Component:
Internationalization
Version: SVN | Resolution:
Keywords: | Stage:
Unreviewed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
-------------------------------------------------+--------------------------
Changes (by anonymous):
* status: closed => reopened
* resolution: fixed =>
* stage: Ready for checkin => Unreviewed
Comment:
I reopened this ticket because of a bug in r6349.
I have runtime error with compile-messages.py:
{{{
Traceback (most recent call last):
File "/home/wangchun/src/django/django/bin/compile-messages.py", line
64, in <module>
main()
File "/home/wangchun/src/django/django/bin/compile-messages.py", line
61, in main
compile_messages(options.locale)
File "/home/wangchun/src/django/django/bin/compile-messages.py", line
17, in compile_messages
basedirs += settings.LOCALE_PATHS
File
"/home/wangchun/src/cityweekend/lib/django/django/conf/__init__.py", line
32, in __getattr__
return getattr(self._target, name)
AttributeError: 'Settings' object has no attribute 'LOCALE_PATHS'
}}}
I have attached a patch for this.
--
Ticket URL: <http://code.djangoproject.com/ticket/3955#comment:6>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---