About Custom App Configurations

If you want to show a third-party app in Django administration panel with a different verbose name, you can create a custom AppConfig for it and register it in the INSTALLED_APPS instead of the default app name.

1
2
3
4
5
6
7
# misc/apps.py
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _

class SocialDjangoConfig(AppConfig):
    name = 'social_django'
    verbose_name = _('Social Django')
1
2
3
4
5
6
7
# settings/_base.py

INSTALLED_APPS = [
    # …
    'misc.apps.SocialDjangoConfig',
    # …
]

Tips and Tricks Programming User Experience Django 2.2 Django 1.11 Django 1.8