Sunday, April 19, 2015

Re: How to prevent label wrap in Django Administration

On 4/19/15 4:21 AM, Bernd Wechner wrote:
>
> I'm just playing around with Django and have cut a simple model and
> all is working fine. The Django administration tool works a charm, and
> I can move onto some views and forms. But what puzzles me immensely is
> why editing a tuple looks like this (with crazy label wrap). Can I fix
> this any way? It's not an impressive use of screen real estate:...
>
Maybe my answer will provoke a better one, which would be a good thing,
but...

For non-admin pages you can tailor the labeling to whatever you want
your users to see; for admin you might want to show that more compactly
and efficiently.

How about making model labels which are shorter? Typically I use
something with a dozen characters or (much) less, and then put hints
about how to use it or other details into the help field. So "Trueskill
Initial Standard Deviation (phi0)" might be as simple (and
uninteresting) as "stddev" and the help might be "Enter an initial
standard deviation".

hth

- Tom

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5533B6D2.7040601%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment