﻿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
21895	Probably erroneous documentation about new contrib.admin and admin.autodiscover	Claus Conrad	nobody	"After upgrading a project from 1.6.1 to 1.7a1 I removed the call to ''autodiscover()'' from my URLconf, as indicated by [https://docs.djangoproject.com/en/dev/releases/1.7/#app-loading-refactor this section] in the release notes:

{{{
The admin automatically calls autodiscover() when Django starts. You can consequently remove this line from your URLconf.
}}}

This does not work in my upgraded application; without the call to autodiscover superusers don't have any permissions in the admin interface. In case the above paragraph only applies to apps created using 1.7a1, then mentioning the removal of code seems at least ambiguous.

[https://docs.djangoproject.com/en/dev/releases/1.7/#start-up-sequence Later on] the release notes read:

{{{
django.contrib.admin will now automatically perform autodiscovery of admin modules in installed applications. To prevent it, change your INSTALLED_APPS to contain 'django.contrib.admin.apps.SimpleAdminConfig' instead of 'django.contrib.admin'.
}}}

I am not sure if this is correct, after reading some posts on the developers list about this it seems to me that ''django.contrib.admin'' should read ''django.contrib.admin.apps.AdminConfig'' here, if one wants to rely on autodiscovery - unfortunately I haven't had time to try this in my code yet."	Bug	closed	Documentation	1.7-alpha-1	Normal	worksforme		Claus Conrad	Unreviewed	0	0	0	0	0	0
