diff --git a/model.py b/model.py index c8c1e0a..eb38917 100644 --- a/model.py +++ b/model.py @@ -151,9 +151,6 @@ class Account(TimestampMixin, RemoteIDMixin): # backref: posts # backref: sessions - def __str__(self): - return f"" - def post_count(self): return Post.query.with_parent(self).count() @@ -183,7 +180,8 @@ class Account(TimestampMixin, RemoteIDMixin): class Account(Account, db.Model): - pass + def __str__(self): + return f"" class OAuthToken(db.Model, TimestampMixin):