﻿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
28246	modify_settings decorator append operation failing	Mark Rogaski	nobody	"I am using `autodiscover_modules` in a project to load app URL configurations.  After moving from 1.10.6 to 1.11.1, the test app that I was using for unit testing is failing.  

In the project '''urls.py''':
{{{#!python
from django.utils.module_loading import autodiscover_modules

from myproject import site

autodiscover_modules('urls', register_to=site)
}}}

In the unit test:
{{{#!python
from django.test import TestCase, modify_settings

@modify_settings(INSTALLED_APPS={
    'append': 'myproject.tests.testapp'
})
class UrlRegistryTest(TestCase):
    ...
}}}

When stepping through with the debugger, I see that INSTALLED_APPS isn't modified when the autodiscover function is called in 1.11."	Bug	closed	Testing framework	1.11	Normal	needsinfo	test modify_settings		Unreviewed	0	0	0	0	0	0
