Reputation: 131
How do you change your models to show a necessary box-title in admin?
Upvotes: 0
Views: 361
Reputation: 514
It can be changed in the following manner:
In employees/apps.py
add:
from django.apps import AppConfig
class EmployeesConfig(AppConfig):
name = 'employees'
verbose_name = "The Title"
Then then in employees/__init__.py
add the following:
default_app_config = 'employees.apps.EmployeesConfig'
Upvotes: 1