X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/69d5189cc4fb2ca63418a0741bf744cf5fee8bc9..6371c50c3b414c0bb06a6144cd31803a1363a602:/floof/model/art.py diff --git a/floof/model/art.py b/floof/model/art.py index b709610..544a830 100644 --- a/floof/model/art.py +++ b/floof/model/art.py @@ -119,4 +119,16 @@ class Rating(Entity): # options = ["sucks","neutral","good","great"] -Rating.reverse_options = dict (zip(Rating.options.values(), Rating.options.keys())) \ No newline at end of file +Rating.reverse_options = dict (zip(Rating.options.values(), Rating.options.keys())) + + + + +class UserRelation(Entity): + related = ManyToOne("User") + art = ManyToOne("Art") + type = Field(String) # by for of + + +# class CharacterRelation(Entity): +# pass \ No newline at end of file