Search code examples
djangodjango-admindjango-celery

Django Celery Beat, change app name in admin


When we create our custom apps we can assign verbose_name in myproject/myapp/apps.py:

class MainConfig(AppConfig):
    name = 'main'
    verbose_name = 'My Own Verbose Name'

I have added django_celery_beat into my INSTALLED_APPS and now my admin page has this app:

Admin Page

How I can change this Periodic Tasks app name?


Solution

  • I will answer to my own question.

    The only way of changing the name of app of django_celery_beat that I have found is to use translation:

    msgid "Periodic Tasks" msgstr "My Own Name for this App"