Z
Z
zelsky2015-11-13 10:30:08
Django
zelsky, 2015-11-13 10:30:08

Application name localization in Django?

How to create to select the names of applications in the admin panel in Russian.
ps with a lot of bones in Google for 2008-2010. Is it possible to do something without django admin tools and the like?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Konin, 2015-11-13
@zelsky

Available since django 1.7

from django.apps import AppConfig

class MyAppConfig(AppConfig):
    name = "myapp"
    verbose_name = "Моё приложение"

default_app_config = "myapp.apps.MyAppConfig"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question