#4924: Loading of compressed fixtures
-----------------------------------+----------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  jacob                
  Status:  new                     |   Component:  Serialization        
 Version:  SVN                     |    Keywords:  compression, fixtures
   Stage:  Unreviewed              |   Has_patch:  1                    
-----------------------------------+----------------------------------------
 Fixtures contain a lot of redundancy (in xml or json format), so they
 compress well. This patch adds detection and loading of bzip2 or gzip
 compressed  fixtures, since these formats are supported natively in
 Python. It also contains some test cases.
 
 An example of the utility of this patch: in my project, an
 initial_data.json fixture was around 4Mb and bzip2'ed down to ~150Kb, a
 much more reasonable size for storing in a repository. I'm sure there are
 plenty of projects where this is useful.
 
 The tests pass, except for one which fails in the same way the existing
 fixture test fails.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4924>
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