#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:5 jbalonso]:
> This ''looks'' like a duplicate of ticket #6385.
:-) Your Google is better than my Google. I concur that this ticket is a
duplicate.
Notes for the dev who decides the fate of this ticket:
The patch offered in #7679 breaks invocations that do not set the
DJANGO_SETTINGS_MODULE variable (e.g. django-admin.py help startproject).
#6385 does not break in the absence of this variable.
The patch in #7679 disables console colors entirely unless specifically
enabled by the developer as per [comment:2 mtredinnick]'s gripe.
The patch offered in #7679 is more granular, but covers less ground (only
401, 404, and 500), vs #6385 covers 1xx, 2xx, 3xx, 4xx, and 5xx HTTP
response codes.
--
Ticket URL: <http://code.djangoproject.com/ticket/7679#comment:6>
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
-~----------~----~----~----~------~----~------~--~---