Didn't think about that way to investigate, thanks for the tip.
That commit says that it was added because list_editable FK widget would 
break into several line otherwise (same with date widgets).
Well, seems legit. But it's added even if the field is not in list_editable.
And now I start thinking that it's a bug rather than random issue.

понедельник, 7 декабря 2015 г., 18:14:19 UTC+3 пользователь Tim Graham 
написал:
>
> Did you try looking through git blame to find the commit that added it?
>
> https://github.com/django/django/commit/0b53d318 might be what you're 
> looking for.
>
> On Monday, December 7, 2015 at 8:33:34 AM UTC-5, alTus wrote:
>>
>> Django adds `nowrap` class to your `td` if you specify list_display to 
>> show any ForeignKey.
>> I can't see the purpose to do it. Any considerably long title breaks 
>> table layout hard.
>> Do I miss smth or may be it would be better to just remove it?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/4474c94b-2891-4287-ade2-10789f238235%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to