﻿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
18850	After doing some recursive import, the gobal value of `X` that defined with value `1` is automatically set to `None`, if class derived from `models.Model`	Omid Raha	nobody	"Hi,
I attached a sample project(`test_dj`), 
this project can run with django 1.4 or later,
the problem I found is that after doing some recursive import, 
the gobal value of `X` that defined with value `1` is automatically set to `None`, if class derived from `models.Model`


You can test this issue:
1. Extract `test_dj` project
2. run `python manage.py shell`
3. doing test:

In [1]: from test_dj.package_A.models import X_IS_OK,X_IS_None

In [2]: X_IS_OK()
Ok, X is 1

In [3]: X_IS_None()
Wow ! why X is None ?

"	Bug	closed	Database layer (models, ORM)	1.4	Normal	duplicate		Florian Apolloner	Unreviewed	0	0	0	0	0	0
