Skip to content

Commit

Permalink
Fix bug with admin loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Peterson committed Aug 13, 2019
1 parent 44e2dab commit ff35a82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flask_secure_admin/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def add_layout_to_admin(self, admin, app, db, options):
for option_key, option_value in view_options_bag.items():
setattr(model_view, option_key, option_value)
admin.add_view(model_view)
return admin

def bootstrap_database(self, app, db):
# TODO: This only works if the psql command is available
Expand Down

0 comments on commit ff35a82

Please sign in to comment.