burc...@gmail.com wrote:
> Hi,
> 
> On Thu, Aug 12, 2010 at 9:54 PM, Thomas Guettler <h...@tbz-pariv.de> wrote:
>> Hi,
>>
>> a colorized debug page helps a lot. More than 99% of errors
>> are in my code, and not in django's. This patch gives "own" code
>> a different color.
>>
>> It is assigned to "buriy" since 6 months.
>>
>>  http://code.djangoproject.com/ticket/11834
>>
>> Why not commit?
> 
> I'm buriy. Patch creator.
> 
> The agreement between core devs and me (or at least how i get it) was
> that we decided that this patch needs to be a part of larger "debug
> page usability improvement suite".
> My decision is that until that, the patch is "incomplete" to allow
> only in-house use.

Django: The web framework for perfectionists with deadlines....
But where/when is the deadline?
I think with "release early, release often" you get perfect code
faster.


> I can do all development changes for all suite (and finish this patch
> of course), if we discuss how it should be done.
> 
> My issue needs few improvements:
>  - docs & tests

AFAIK the current debug page has no docs and tests, too.

>  - ability to hide some traceback elements, keeping notice they are
> hidden -- it's so easy to shot yourself in foot otherwise.

Please explain this. What do you want to hide? The page is for developers only.

>  - better display for decorators -- i think they either don't deserve
> separate line or should be displayed as @decorator in the short debug
> output.

I want to see the stacktrace the way it is (nested function calls)

>  - grouping template tags together and pretty display for them --
> please see below.
> 
> At least, after my issue, there are 2 others:
>  - DEBUG_SHOW_DJANGO_TRACEBACK option (
> http://code.djangoproject.com/ticket/13148 )
>  - output for template tags should be improved, since we're displaying
> 4 traceback blocks instead of template tag itself. There was a code
> written for this already somewhere, there was screenshot available,
> and it was discussed in this group, but i can't find it right now. Can
> anyone point me at it?


> And yes, I don't know where to find designers to get a look at my
> implemented improvements, I'd like contact them when I'm ready.

I am not a designer, but here is my opinion: Your patch highlights
own code quite good. But there are too many colors. I like the
colors of http://www.djangoproject.com/
Why not use or copy parts if this style?

I would just increase the size of "own" code, no different colors.

It would be nice if you could define a list of apps that
you consider "stable" and which should be displayed small.


  Thomas


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to