PY-12981 django apps don't resolve when INSTALLED_APPS is set with '+='

This commit is contained in:
Ilya.Kazakevich
2014-05-27 18:58:21 +04:00
parent 8e0bbd5967
commit 1b010d04d2
8 changed files with 59 additions and 16 deletions
@@ -0,0 +1,4 @@
SOME_VARIABLE = "42"
SOME_LIST = ['a', 'b']
@@ -0,0 +1,9 @@
__author__ = 'Ilya.Kazakevich'
from external_module import SOME_VARIABLE, SOME_LIST
from some_package import VARIABLE_IN_PACKAGE
from some_package.module_in_package import *
from some_package.another_module_in_package import VARIABLE_IN_PACKAGE_MODULE_2 as MY_RENAMED_VAR
SOME_LIST += ['c', 'd']
@@ -0,0 +1,2 @@
__author__ = 'Ilya.Kazakevich'
VARIABLE_IN_PACKAGE = "foo"
@@ -0,0 +1,2 @@
__author__ = 'Ilya.Kazakevich'
VARIABLE_IN_PACKAGE_MODULE_2 = "foo"
@@ -0,0 +1,2 @@
__author__ = 'Ilya.Kazakevich'
VARIABLE_IN_PACKAGE_MODULE = "foo"