Coding style stuff
This commit is contained in:
parent
0e3b467091
commit
bee58ec6d7
|
@ -196,6 +196,7 @@ class FileSchema(Schema):
|
|||
else:
|
||||
return ""
|
||||
|
||||
|
||||
class LookupFileModel(db.Model):
|
||||
"""Gives us a quick way to tell what kind of lookup is set on a form field."""
|
||||
__tablename__ = 'lookup_file'
|
||||
|
@ -209,6 +210,7 @@ class LookupFileModel(db.Model):
|
|||
dependencies = db.relationship("LookupDataModel", lazy="select", backref="lookup_file_model",
|
||||
cascade="all, delete, delete-orphan")
|
||||
|
||||
|
||||
class LookupDataModel(db.Model):
|
||||
__tablename__ = 'lookup_data'
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
|
|
Loading…
Reference in New Issue