djai.model.admin module
DjAI AI Model Admin classes.
-
class djai.model.admin.GoogleTranslateAdmin(model, admin_site)[source]
Bases: django.contrib.admin.options.ModelAdmin
GoogleTranslate model admin.
-
changeform_view(*args, **kwargs)[source]
Silk-profiled change-form view.
-
changelist_view(*args, **kwargs)[source]
Silk-profiled change-list view.
-
property media
-
show_full_result_count = False
-
class djai.model.admin.PreTrainedHuggingFaceTransformerAdmin(model, admin_site)[source]
Bases: django.contrib.admin.options.ModelAdmin
PreTrainedHuggingFaceTransformer model admin.
-
changeform_view(*args, **kwargs)[source]
Silk-profiled change-form view.
-
changelist_view(*args, **kwargs)[source]
Silk-profiled change-list view.
-
property media
-
show_full_result_count = False
-
class djai.model.admin.PreTrainedKerasImageNetClassifierAdmin(model, admin_site)[source]
Bases: django.contrib.admin.options.ModelAdmin
PreTrainedKerasImageNetClassifier model admin.
-
changeform_view(*args, **kwargs)[source]
Silk-profiled change-form view.
-
changelist_view(*args, **kwargs)[source]
Silk-profiled change-list view.
-
property media
-
show_full_result_count = False