﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
25153	The polls tutorial shows INSTALLED_APPS in incorrect order	Pi Delport	nobody	"The polls tutorial currently gives an example value for `INSTALLED_APPS` that's not in the correct order ([https://github.com/django/django/blob/3653466bdf211ca603ec976c28d4a8da566dc671/docs/intro/tutorial02.txt#L208-L216 source]):

{{{
    INSTALLED_APPS = [
        'django.contrib.admin',
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.messages',
        'django.contrib.staticfiles',
        'polls',
    ]
}}}

As the Django docs explain elsewhere ([https://docs.djangoproject.com/en/1.8/ref/settings/#installed-apps settings reference], [https://docs.djangoproject.com/en/1.8/ref/templates/api/#django.template.loaders.app_directories.Loader templates API]), `INSTALLED_APPS` should be listed in precedence order, with higher-level apps preceding the apps that they depend on and override.

Later parts of the tutorial actually depend on this, when it discusses customizing the admin templates from the polls app. (Every time I've helped someone through the polls tutorial, and they attempt to customize the admin template, I've had to explain and help them fix this.)"	Cleanup/optimization	closed	Documentation	1.8	Normal	fixed			Accepted	1	0	0	0	1	0
