#6397: Improve error messages in loaddata
-------------------------------------------------------------+--------------
   Reporter:  Ariel <ingenieroariel a..t gmail d..o..t com>  |                
Owner:  nobody       
     Status:  new                                            |            
Component:  Serialization
    Version:  SVN                                            |           
Resolution:               
   Keywords:  loaddata                                       |                
Stage:  Accepted     
  Has_patch:  1                                              |           
Needs_docs:  0            
Needs_tests:  0                                              |   
Needs_better_patch:  1            
-------------------------------------------------------------+--------------
Changes (by russellm):

  * needs_better_patch:  0 => 1

Comment:

 The broader issue - improving error messages - is certainly worthwhile.
 However, I'm not sure that this specific suggestion is the best we can do.
 count[0] isn't a useful count, since it is an overall count including all
 previously loaded fixtures. A more useful value would be to dump the
 object ID and model name. However, this will be much harder to achieve.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6397#comment:3>
Django Code <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