from django.apps import apps from cruds_adminlte.urls import crud_for_model urlpatterns += crud_for_model(apps.get_model('testapp', 'Author'))