There is one situation where the order of INSTALLED_APPS really matters - which is template override.
Though not officially documented (?) I've found references in the mailing list to the fact that APPS coming first in the INSTALLED_APPS will have priority - their templates will be loaded effectivily overriding/shadowing lower priority app ones.
Now, if this is "officially" confirmed in my opinion it would require:
- use a list, not a set, as a default for INSTALLED_APPS. In Python sets are unordered as you surely now better than me
- be more explicit in the documentation
For translations, we have such documentation already:
https://docs.djangoproject.com/en/1.5/topics/i18n/translation/#how-django-discovers-translations
My proposal would then be to simply add another box to the https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps to say "order matters" once more and link the other two pages for translations and templates.*if you think this would* help I could do it as well as a ticket. To save everybody's time no answer will mean it's not worth it!
I don't think it would break South installations as custom app commands will always override builtins. Could you open a ticket for that? The inconsistency is problematic. Obviously it would be backwards incompatible, but we need to gauge the size of the impact.
Marc
--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
For more options, visit https://groups.google.com/groups/opt_out.