Re: [Django] #12117: Silently ignoring of import errors in models module.

2009-10-30 Thread Django
#12117: Silently ignoring of import errors in models module.
---+
  Reporter:  lorien| Owner:  nobody 
   
Status:  closed| Milestone: 
   
 Component:  Database layer (models, ORM)  |   Version:  1.1
   
Resolution:  duplicate |  Keywords:  
ImportError, exception, import, models
 Stage:  Unreviewed| Has_patch:  0  
   
Needs_docs:  0 |   Needs_tests:  0  
   
Needs_better_patch:  0 |  
---+
Changes (by kmtracey):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => duplicate
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 We already have #11696 tracking this.

-- 
Ticket URL: 
Django 
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-updates@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
-~--~~~~--~~--~--~---



[Django] #12117: Silently ignoring of import errors in models module.

2009-10-30 Thread Django
#12117: Silently ignoring of import errors in models module.
+---
 Reporter:  lorien  |   Owner:  nobody
   Status:  new |   Milestone:
Component:  Database layer (models, ORM)| Version:  1.1   
 Keywords:  ImportError, exception, import, models  |   Stage:  Unreviewed
Has_patch:  0   |  
+---
 If I have application which has models.py like:

 {{{
 from foo import Bar # Will raise ImportError
 ...
 }}}

 and foo package does not exist then `manage.py validate` will not report
 any error message but `manage.py syncdb` will not create any table for my
 application because of import error in the begining of models.py

 I think that proper behavior in such case is to report something :-)

-- 
Ticket URL: 
Django 
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-updates@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
-~--~~~~--~~--~--~---