R
R
redduckrobot2015-12-02 00:25:39
Django
redduckrobot, 2015-12-02 00:25:39

How to disable wrapping of long verbose_name text in admin panel?

There is a model:

class Lecturers(models.Model):
    class Meta:
        verbose_name = 'Преподаватель'
        verbose_name_plural = 'Преподаватели'

In the admin panel, the word "Teachers" does not fit into a line and is divided into two parts . Is it a
teacher
:

Is it possible to somehow make sure that there are no gaps?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rostislav Grigoriev, 2015-12-02
@redduckrobot

In the admin class, write your css and override the styles so that the line does not have a
break https://docs.djangoproject.com/en/1.8/topics/forms...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question