[Django]-Is it possible to rename the application's group name in Django?

4👍

You can do that in the verbose_name [Django-doc] of the AppConfig:

# app_name/apps.py

from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _

class MyAppConfig(AppConfig):
    verbose_name = _('My verbose name for the app')

In the __init__.py of the app, you then specify this as the default AppConfig for that app:

# app_name/__init__.py

default_app_config = 'app_name.apps.MyAppConfig'

Leave a comment