* templates:
https://docs.djangoproject.com/en/dev/ref/templates/api/#django.template.loaders.app_directories.Loader
* translations:
https://docs.djangoproject.com/en/1.5/topics/i18n/translation/#how-django-
discovers-translations
Mailing list discussion: https://groups.google.com/forum/#!topic/django-
developers/r37clRaXgf4
My proposal is to add a box in
https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps saying
something like:
The order of INSTALLED_APPS is significant! Translations and Templates
in Django can be overridden; the first app found will have priority.
Please also see
[https://docs.djangoproject.com/en/dev/ref/templates/api/#django.template.loaders.app_directories.Loader
Templates Documentation] and
[https://docs.djangoproject.com/en/1.5/topics/i18n/translation/#how-
django-discovers-translations Translations Documentation]
An alternative method is to use https://pypi.python.org/pypi/django-
apptemplates/ that allows to override (and inherit) the template of a
specific app.
--
Ticket URL: <https://code.djangoproject.com/ticket/20914>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/20914#comment:1>
Comment (by aaugustin):
Related to #21018.
--
Ticket URL: <https://code.djangoproject.com/ticket/20914#comment:2>
Comment (by aaugustin):
See
https://github.com/django/django/commit/0ce945a67151acf2c58bc35a47f4c3d45ff30085
#diff-7432e7141e58a9eede9760904be4b14cR1319 — is it enough to consider
this ticket fixed?
--
Ticket URL: <https://code.djangoproject.com/ticket/20914#comment:3>
* status: new => closed
* resolution: => fixed
Comment:
Looks good to me.
--
Ticket URL: <https://code.djangoproject.com/ticket/20914#comment:4>