diff --git a/djangoldp/admin.py b/djangoldp/admin.py index b385c6c7e6f45f1b24932d0ffbd808d0c8e0fff0..94fa93d75594ae814d3efef9ac97de5c3fc59857 100644 --- a/djangoldp/admin.py +++ b/djangoldp/admin.py @@ -4,6 +4,12 @@ from django.conf import settings from django.contrib import admin from .models import LDPSource, Model +for package in settings.DJANGOLDP_PACKAGES: + try: + import_module('{}.admin'.format(package)) + except ModuleNotFoundError: + pass + for package in settings.DJANGOLDP_PACKAGES: try: import_module('{}.models'.format(package))