Answer the question
In order to leave comments, you need to log in
How to change app name and model to Russian in Django admin?
Hello.
How can I change these phrases to Russian?
Faceset is the name of the application.
timetables - model
Answer the question
In order to leave comments, you need to log in
1. In apps.py:
from django.apps import AppConfig
class FacesetConfig(AppConfig):
name = 'faceset'
verbose_name = "Что-то твое на русском на родном"
class Timetables(models.Model):
name = models.CharField(u'time', max_length=30)
class Meta:
verbose_name = 'Что-то твое на русском на родном'
verbose_name_plural = 'Что-то твое на русском на родном'
def __str__(self):
return self.name
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question