#11264: "from django.db import models" clobbered in functions inside 
__init__.py of
installed apps
-------------------------------------+--------------------------------------
          Reporter:  akaihola        |         Owner:  nobody   
            Status:  new             |     Milestone:           
         Component:  Core framework  |       Version:  SVN      
        Resolution:                  |      Keywords:  importing
             Stage:  Accepted        |     Has_patch:  0        
        Needs_docs:  0               |   Needs_tests:  0        
Needs_better_patch:  0               |  
-------------------------------------+--------------------------------------
Changes (by russellm):

  * stage:  Unreviewed => Accepted

Comment:

 Some extra debug: If your test case invokes
 {{{
 import myapp
 myapp.myfunc()
 }}}
 or
 {{{
 import myapp
 from myapp import model
 myapp.myfunc()
 }}}
 everything works as expected. It's only when you run
 {{{
 import myapp
 from myapp.models import *
 myapp.myfunc()
 }}}
 that you get a problem.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11264#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to