Skip to content

Commit

Permalink
Fix str repr of secure model view
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Peterson committed Aug 19, 2019
1 parent 8524959 commit 4b4d491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_secure_admin/secure_model_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Create customized model view class
class SecureModelView(sqla.ModelView):

def __str__(self):
def __repr__(self):
return f"<'{self.name}' ModelView>"

def is_accessible(self):
Expand Down

0 comments on commit 4b4d491

Please sign in to comment.