#12369: cStringIO portability
-----------------------------------+----------------------------------------
 Reporter:  rubic                  |       Owner:  nobody    
   Status:  new                    |   Milestone:            
Component:  Documentation          |     Version:  1.1       
 Keywords:  cStringIO portability  |       Stage:  Unreviewed
Has_patch:  0                      |  
-----------------------------------+----------------------------------------
 In reference to: http://docs.djangoproject.com/en/dev/howto/outputting-
 pdf/

 cStringIO is a great way to speed up complex reportlab pdfs.  For
 portability in environments that don't have cStringIO, I would encourage
 django coders to use this idiom:

 {{{
 try:
     from cStringIO import StringIO
 except ImportError:
     from StringIO import StringIO

 }}}

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