#21018: Make consistent the significance of app ordering in INSTALLED_APPS
------------------------------+--------------------
     Reporter:  marfire       |      Owner:  nobody
         Type:  Bug           |     Status:  new
    Component:  Core (Other)  |    Version:  1.5
     Severity:  Normal        |   Keywords:
 Triage Stage:  Unreviewed    |  Has patch:  0
Easy pickings:  0             |      UI/UX:  0
------------------------------+--------------------
 There are several subsystems that are affected by the order of the apps in
 `INSTALLED_APPS`. These include (at least): templates, static files,
 translations, and management commands. For the first three, the rule is
 that the first listed app has precedence: it will be used in preference to
 any app listed later that uses the same name for something (e.g. a
 template, file, or translation).

 In the case of management commands, however, the semantics are just the
 opposite: precedence is given to apps that are listed later.

 The proposal is to fix this so that management commands follow the same
 ordering rules as the other subsystems. This is an easy fix, but it has
 implications for backwards compatibility: specifically, for any project
 that currently has two apps in `INSTALLED_APPS` that define the same
 command, the one that is actually used will change. (Note that this does
 not apply to the case of apps overriding core management commands; they
 will continue to do so.)

 See [https://groups.google.com/forum/#!topic/django-developers/r37clRaXgf4
 here] for a discussion of the issue.

 See #20914 for a proposal to document more thoroughly the issue of order
 in `INSTALLED_APPS`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21018>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.53c1b85424085d4403f9170dc5ce4848%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to