#13680: loaddata should issue a warning when attempting to load data using an
unknown serialization format even when it is unspecified
-------------------------------------------+--------------------------------
          Reporter:  [email protected]  |         Owner:  nobody
            Status:  new                   |     Milestone:        
         Component:  Core framework        |       Version:  SVN   
        Resolution:                        |      Keywords:        
             Stage:  Accepted              |     Has_patch:  0     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by [email protected]):

 I took a look at how loaddata processes fixtures and it appears that it
 builds a list of every possible combination of serialization and
 compression format then checks the filesystem for each one.

 In order to solve this issue, we'll need to either have a secondary
 filesystem search for files that start with the specified fixture_labels,
 or we'll need to change the way loaddata works by first examining the
 filesystem for matches and then determining if suitable
 compression/serialization support exists. If a core developer would like
 to give me a hint as to which solution fits best, I will try my hand at a
 patch.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13680#comment:2>
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