'Check that all things needed to run the admin have been correctly installed.
The default implementation checks that LogEntry, ContentType and the
auth context processor are installed.'

def check_dependencies(self):

    from django.contrib.admin.models import LogEntry
    from django.contrib.contenttypes.models import ContentType
    if (not LogEntry._meta.installed):
        raise ImproperlyConfigured("Put    'django.contrib.admin'    in    your    INSTALLED_APPS    setting    in    order    to    use    the    admin    application.")
    if (not ContentType._meta.installed):
        raise ImproperlyConfigured("Put    'django.contrib.contenttypes'    in    your    INSTALLED_APPS    setting    in    order    to    use    the    admin    application.")
    if (not (('django.contrib.auth.context_processors.auth' in settings.TEMPLATE_CONTEXT_PROCESSORS) or ('django.core.context_processors.auth' in settings.TEMPLATE_CONTEXT_PROCESSORS))):
        raise ImproperlyConfigured("Put    'django.contrib.auth.context_processors.auth'    in    your    TEMPLATE_CONTEXT_PROCESSORS    setting    in    order    to    use    the    admin    application.")
