MongoEngine and WTForm classes: how to avoid duplication business rules when having a MVC pattern

前端 未结 0 1685
隐瞒了意图╮
隐瞒了意图╮ 2021-02-02 05:15

In my flask application, I have two classes. The first one defines the database model (mongoengine)

class Expenses(UserMixin, Document):
    exp_date = DateTimeFi         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题