From 757fed7b4f89b194e13630fb56a237bd4cbbe7b3 Mon Sep 17 00:00:00 2001 From: Brian Peterson Date: Fri, 23 Aug 2019 14:56:33 -0600 Subject: [PATCH] Fix typo --- flask_secure_admin/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flask_secure_admin/base.py b/flask_secure_admin/base.py index ea4e676..b86a534 100644 --- a/flask_secure_admin/base.py +++ b/flask_secure_admin/base.py @@ -146,11 +146,11 @@ def add_layout_to_admin(self, admin, app, db, options): model = getattr(db, model_name) model = override___name___on_sqlsoup_model(model) - DerviedModelViewCls = \ + DerivedModelViewCls = \ type(f'Secure{model.__name__}View', (SecureModelView,), view_options_bag) - model_view = DerviedModelViewCls(model, db.session) + model_view = DerivedModelViewCls(model, db.session) admin.add_view(model_view) return admin