#15084: Unnecessary imports lead to ImportError
--------------------------------------+------------------------------------
Reporter: vanschelven | Owner: nobody
Type: Bug | Status: reopened
Component: Internationalization | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by ptone):
While I agree the right solution is to use the lazy translation, I believe
this problem may be solved by the app-loading branch if it lands
(hopefully for 1.5) as it will have imported all apps even earlier in
Django's startup process.
https://github.com/ptone/django/blob/app-
loading/django/utils/translation/trans_real.py#L150
--
Ticket URL: <https://code.djangoproject.com/ticket/15084#comment:24>
Django <https://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.