demalexx
demalexx

Reputation: 4751

Django admin many to many field width

I use filter_vertical, but the problem is my models string representation is too long, it doesn't fit given <select> tag. Is there simple way to increase width of that select?

Update. One possible solution - use css to override widget styles.

Upvotes: 0

Views: 608

Answers (1)

dan-klasson
dan-klasson

Reputation: 14180

Yes by using jQuery that you inject using the Meta class.

Upvotes: 1

Related Questions