From 55f8e2f60228d3598f8474263c6653fc3276a70c Mon Sep 17 00:00:00 2001 From: SvyatoslavArtymovych Date: Fri, 9 Jun 2023 16:50:42 +0300 Subject: [PATCH] remove comment --- app/controllers/admin/book.py | 1 - app/controllers/admin/book_contributors.py | 1 - app/controllers/admin/collection.py | 1 - app/controllers/admin/comment.py | 1 - app/controllers/admin/interpretation.py | 1 - app/controllers/admin/section.py | 1 - app/controllers/admin/tag.py | 1 - 7 files changed, 7 deletions(-) diff --git a/app/controllers/admin/book.py b/app/controllers/admin/book.py index bc5b25d..08fd6f4 100644 --- a/app/controllers/admin/book.py +++ b/app/controllers/admin/book.py @@ -26,7 +26,6 @@ class BooksView(ProtectedModelView): form = self.delete_form() if self.validate_form(form): - # id is InputRequired() id = form.id.data model = self.get_one(id) diff --git a/app/controllers/admin/book_contributors.py b/app/controllers/admin/book_contributors.py index 5dc51a2..e50e067 100644 --- a/app/controllers/admin/book_contributors.py +++ b/app/controllers/admin/book_contributors.py @@ -91,7 +91,6 @@ class BookContributorView(ProtectedModelView): form = self.delete_form() if self.validate_form(form): - # id is InputRequired() id = form.id.data model = self.get_one(id) diff --git a/app/controllers/admin/collection.py b/app/controllers/admin/collection.py index 5061a80..d0fee57 100644 --- a/app/controllers/admin/collection.py +++ b/app/controllers/admin/collection.py @@ -38,7 +38,6 @@ class CollectionsView(ProtectedModelView): form = self.delete_form() if self.validate_form(form): - # id is InputRequired() id = form.id.data model = self.get_one(id) diff --git a/app/controllers/admin/comment.py b/app/controllers/admin/comment.py index c079525..7e710d6 100644 --- a/app/controllers/admin/comment.py +++ b/app/controllers/admin/comment.py @@ -37,7 +37,6 @@ class CommentView(ProtectedModelView): form = self.delete_form() if self.validate_form(form): - # id is InputRequired() id = form.id.data model = self.get_one(id) diff --git a/app/controllers/admin/interpretation.py b/app/controllers/admin/interpretation.py index ffdd62e..a88cb9b 100644 --- a/app/controllers/admin/interpretation.py +++ b/app/controllers/admin/interpretation.py @@ -36,7 +36,6 @@ class InterpretationView(ProtectedModelView): form = self.delete_form() if self.validate_form(form): - # id is InputRequired() id = form.id.data model = self.get_one(id) diff --git a/app/controllers/admin/section.py b/app/controllers/admin/section.py index 46d8690..cef9cb6 100644 --- a/app/controllers/admin/section.py +++ b/app/controllers/admin/section.py @@ -35,7 +35,6 @@ class SectionsView(ProtectedModelView): form = self.delete_form() if self.validate_form(form): - # id is InputRequired() id = form.id.data model = self.get_one(id) diff --git a/app/controllers/admin/tag.py b/app/controllers/admin/tag.py index 2094c24..ee77898 100644 --- a/app/controllers/admin/tag.py +++ b/app/controllers/admin/tag.py @@ -31,7 +31,6 @@ class TagView(ProtectedModelView): form = self.delete_form() if self.validate_form(form): - # id is InputRequired() id = form.id.data model = self.get_one(id)