C
C
Chekistchek2017-08-31 11:23:31
Django
Chekistchek, 2017-08-31 11:23:31

Why doesn't verbose_name work for a model?

For some reason the name doesn't change, makemigrations doesn't see the change. What could be the problem? (djando 1.11, python 3.6)3131e07282e143ca88947e849e992e40.pngf22064ce8f354c0db45223ac477a4838.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2017-08-31
@Chekistchek

class Meta:
        verbose_name = 'category'
        verbose_name_plural = 'categories'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question