From 7a942cdde07abbf8009366340fa2a86401662765 Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Thu, 24 May 2018 22:00:14 +0200 Subject: [PATCH] Update admin --- submissions/admin.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/submissions/admin.py b/submissions/admin.py index 55a74af12..76115dd30 100644 --- a/submissions/admin.py +++ b/submissions/admin.py @@ -23,15 +23,7 @@ def submission_short_title(obj): return obj.submission.title[:30] -class iThenticateReportAdmin(admin.ModelAdmin): - readonly_fields = ['doc_id'] - - def has_add_permission(self, request): - """ Don't add manually. This will gives conflict with the iThenticate db. """ - return False - - -admin.site.register(iThenticateReport, iThenticateReportAdmin) +admin.site.register(iThenticateReport) class SubmissionAdminForm(forms.ModelForm): -- GitLab