django1/django/contrib/admin/apps.py

12 lines
253 B
Python

from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class AdminConfig(AppConfig):
name = 'django.contrib.admin'
verbose_name = _("administration")
def ready(self):
self.module.autodiscover()