From 7f984cb41648018579e41ef2b49f1e384a6c6df4 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 22 Oct 2021 17:35:07 +0100 Subject: [PATCH] remove unused models from admin --- app/text/admin.py | 6 +++--- app/video/admin.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/text/admin.py b/app/text/admin.py index 389a8ce..ead8edc 100644 --- a/app/text/admin.py +++ b/app/text/admin.py @@ -12,6 +12,6 @@ class TextAdmin(admin.ModelAdmin): 'public', ) -@admin.decorators.register(models.Page) -class PageAdmin(admin.ModelAdmin): - pass +#@admin.decorators.register(models.Page) +#class PageAdmin(admin.ModelAdmin): +# pass diff --git a/app/video/admin.py b/app/video/admin.py index 9f9a0b2..731ab1e 100644 --- a/app/video/admin.py +++ b/app/video/admin.py @@ -12,6 +12,6 @@ class FilmAdmin(admin.ModelAdmin): 'public', ) -@admin.decorators.register(models.Edit) -class EditAdmin(admin.ModelAdmin): - pass +#@admin.decorators.register(models.Edit) +#class EditAdmin(admin.ModelAdmin): +# pass