I am using django admin functionality.But in "Change user" section where we assign permissions for particular user i see select multiple widget.The width of this widget is not enough for me,i need to increase the width of the widget or add a horizontal scroll bar to it.How can i do this?
相关问题
- Django __str__ returned non-string (type NoneType)
- Django & Amazon SES SMTP. Cannot send email
- Django check user group permissions
- Django restrict pages to certain users
- UnicodeEncodeError with attach_file on EmailMessag
相关文章
- Profiling Django with PyCharm
- Why doesn't Django enforce my unique_together
- MultiValueDictKeyError in Django admin
- Django/Heroku: FATAL: too many connections for rol
- Django is sooo slow? errno 32 broken pipe? dcramer
- Django: Replacement for the default ManyToMany Wid
- Upgrading transaction.commit_manually() to Django
- UnicodeEncodeError when saving ImageField containi
"Kron" I understand that we can add class media to our classes in admin.py file.BUT i do not have any models defined that uses filter_horizontal widget.
But the admin application has already models defined "users" and "groups" that uses filter_horizontal widget.I need to change the width of that widget. so my problem is that i don't know in which class should i add class Meta with css.
It could be done in css e.g. with a custom css file override the following 3 classes.
I had to do this to make it work.
and finally CSS file in
admin/css/permissions.css