ccbv icon indicating copy to clipboard operation
ccbv copied to clipboard

Improve formatting of class attributes

Open exonian opened this issue 13 years ago • 4 comments

Currently in the form: response_class = <class 'django.template.response.TemplateResponse'>

Looks a bit unformatted.

Would probably be a change in get_value.

exonian avatar Aug 18 '12 13:08 exonian

@exonian – What sort of format were you thinking? We could just cut it down to the dotted path? I think this is the raw output of str(TemplateResponse) btw.

ghickman avatar Oct 27 '13 22:10 ghickman

Personally I like this format. I believe that a as python programmer it's what one'd expect. -- That said.. If the related class was tracked by ccbv (classify?) then it could be a link.

meshy avatar Oct 28 '13 09:10 meshy

We could link this out the code on Github?

ghickman avatar Oct 28 '13 10:10 ghickman

I'd prefer dotted paths, but I'm not super fussed. I like the idea of linking to something either way: ccbv/classify would be best but github or docs would add value too.

exonian avatar Oct 28 '13 10:10 exonian