#11667: Full traceback if import error before model validation
------------------------------------------------+---------------------------
          Reporter:  jedie                      |         Owner:  ariddell
            Status:  assigned                   |     Milestone:          
         Component:  django-admin.py runserver  |       Version:  1.1     
        Resolution:                             |      Keywords:          
             Stage:  Accepted                   |     Has_patch:  1       
        Needs_docs:  0                          |   Needs_tests:  1       
Needs_better_patch:  0                          |  
------------------------------------------------+---------------------------
Changes (by ariddell):

  * owner:  nobody => ariddell
  * status:  new => assigned

Comment:

 I had a similar issue when running tests. I would do a `manage.py test`
 and get an `django.core.exceptions.ImproperlyConfigured: App with label
 <label> could not be found`. The real culprit was an import loop. As jedie
 suggests, displaying the original ImportError would be helpful.

 I'll attached a patch for the `manage.py test` case as
 `django_11667_manage_test.diff`.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11667#comment:4>
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.


Reply via email to