From c5a145070ba8b2f407797c978a78dcd05fec1780 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= Date: Thu, 8 Sep 2022 18:11:27 +0200 Subject: [PATCH] =?UTF-8?q?dokumentace=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- korektury/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korektury/admin.py b/korektury/admin.py index 2e91ae75..f2b0a319 100644 --- a/korektury/admin.py +++ b/korektury/admin.py @@ -28,7 +28,7 @@ class KorekturovanePDFAdmin(VersionAdmin): readonly_fields = ['cas', 'stran'] def get_readonly_fields(self, request, obj=None): - """ Nevím, proč to tu je - Jidáš """ + """ Když pdf existuje, tak nedovolím měnit ani pdf.""" if obj: return self.readonly_fields + ['pdf'] return self.readonly_fields