#7679: Colorize 404 and 500 message from runserver to console
------------------------------------------------+---------------------------
          Reporter:  hunteke                    |         Owner:  nobody        
          
            Status:  new                        |     Milestone:  post-1.0      
          
         Component:  django-admin.py runserver  |       Version:  SVN           
          
        Resolution:                             |      Keywords:  color error 
http console
             Stage:  Design decision needed     |     Has_patch:  1             
          
        Needs_docs:  0                          |   Needs_tests:  0             
          
Needs_better_patch:  0                          |  
------------------------------------------------+---------------------------
Comment (by hunteke):

 Replying to [comment:3 hunteke]:
 ''Perhaps a setting in the local {{{settings.py}}}.  {{{COLORIZE_CONSOLE =
 True}}} or something to that effect.''

 Python makes this easy, just a roughly 3 line change.  I have updated this
 patch as per this thought process.  It now will not output '''any''' color
 to the console unless the {{{COLORIZE_CONSOLE}}} setting has been
 explicitly set to {{{True}}} in the settings.  (In other words, the
 default is off, and developers must '''explicitly''' choose to enable
 color.)

 As implemented, I believe that it resolves the objection by mtredinnick
 that the colorization behaviour is already broken, even currently.

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