How to change the name of the application and the model for Russian in Django admin?

Hi all.

download?id=BFeFPr75B5DbHnsjGRFPATDib57H

How can I change these phrases into Russian?

Faceset is the name of the application.

Timetables - model
July 9th 19 at 10:39
2 answers
July 9th 19 at 10:41
Solution
1. In apps.py:

from django.apps import AppConfig

class FacesetConfig(AppConfig):
 name = 'faceset'
 verbose_name = "something your in Russian in their native"


2. models.py

class Timetables(models.Model):
 name = models.CharField(u time', max_length=30)

 class Meta:
 verbose_name = 'something your in Russian in their native'
 verbose_name_plural = 'something your in Russian in their native'

 def __str__(self):
 return self.name
Did, in the end, the model name has changed, but with the application no.

https://monosnap.com/file/uU4T7dV6MT9Rz9LPOroq7cn0...

MB somehow represnet necessary, or I not so made? - Shanie_Armstrong98 commented on July 9th 19 at 10:44
Found. Also add in file __init__.py deferral:

default_app_config = 'faceset.apps.FacesetConfig' - Shanie_Armstrong98 commented on July 9th 19 at 10:47
July 9th 19 at 10:43
Solution
For the model you need to override the verbose_name and verbose_name_plural meta-class inside of your model models.py.

For the application you need to override the verbose_name inside the file apps.py

Find more questions by tags DjangoPython