Commit 78a75fd6 authored by Serge S. Koval's avatar Serge S. Koval

Reverted typo

parent 01f7d789
...@@ -117,9 +117,6 @@ class PostAdmin(sqlamodel.ModelView): ...@@ -117,9 +117,6 @@ class PostAdmin(sqlamodel.ModelView):
text=dict(label='Big Text', validators=[wtf.required()]) text=dict(label='Big Text', validators=[wtf.required()])
) )
def is_visible(self):
return False
def __init__(self, session): def __init__(self, session):
# Just call parent class with predefined model. # Just call parent class with predefined model.
super(PostAdmin, self).__init__(Post, session) super(PostAdmin, self).__init__(Post, session)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment