#5494: javascript_catalog generic view only search catalogs in
application/locale
and not in project/locale
-------------------------------------------+--------------------------------
Reporter: anonymous | Owner:
Status: new | Milestone:
Component: Internationalization | Version: SVN
Resolution: | Keywords: javascript i18n
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
-------------------------------------------+--------------------------------
Comment (by oggy):
I've created a new patch which:
1. simply removes all checks of the 'packages' parameter
2. improves efficency and DRYness of this module
Malcolm, if I understand your objection about Manuel's first patch
correctly, the problem is that settings.py could basically be anywhere,
and not in the project dir? And heck, there doesn't even need to be a
"project dir". I'm asking because this method of determining it appear in
several other places in Django (notably
django.utils.translation.trans_real), but I guess that there's no better
way to determine it programatically so you generally have to rely on
people doing the sane thing.
But here we can make an exception because, well, we're once again relying
on people to do the sane thing and pass us the correct module names.
Correct?
--
Ticket URL: <http://code.djangoproject.com/ticket/5494#comment:11>
Django <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
-~----------~----~----~----~------~----~------~--~---