#2407: [patch] CGI Support for django
-------------------------------------------------------+--------------------
   Reporter:  Martin Glueck <[EMAIL PROTECTED]>  |                Owner:  
adrian                
     Status:  new                                      |            Component:  
Core framework        
    Version:  SVN                                      |           Resolution:  
                      
   Keywords:  cgi                                      |                Stage:  
Design decision needed
  Has_patch:  1                                        |           Needs_docs:  
0                     
Needs_tests:  1                                        |   Needs_better_patch:  
1                     
-------------------------------------------------------+--------------------
Comment (by Marc Fargas <[EMAIL PROTECTED]>):

 Replying to [comment:11 Jedie]:
 > It's not a good idea to name a file cgi.py! So you override python's
 builtin cgi module!
 > What's about cgi_server.py?
 
 from django.core.servers.cgi import runcgi
 import django.core.servers.cgi.runcgi
 
 is not
 
 import cgi
 
 This cgi.py is deep inside django and the documentation instructs you to
 import "runcgi" not "cgi" so you should have no trouble (I see no reason
 you would import the builtin "cgi" and this "cgi" on the wrapper script
 anyway). But it can be renamed anyway, something more to be discussed!
 
 Call to volunteers: Write tests for this ticket! ;)

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