Opened 11 years ago

Closed 10 years ago

#20914 closed New feature (fixed)

Improve documentation: order in INSTALLED_APPS matters for translations and templates

Reported by: stefano.crosta@… Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords: INSTALLED_APPS
Cc: stefano.crosta@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The order of applications in INSTALLED_APPS matters for priority/overriding of at least:

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 Templates Documentation and 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.

Change History (4)

comment:1 by Tim Graham, 11 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Aymeric Augustin, 10 years ago

Related to #21018.

comment:4 by Tim Graham, 10 years ago

Resolution: fixed
Status: newclosed

Looks good to me.

Note: See TracTickets for help on using tickets.
Back to Top