X-Git-Url: http://git.veekun.com/zzz-floof.git/blobdiff_plain/3bdc7971c3359efe7f38eb1b94253b416471b87b..74a67e786406779761820b27159df5dd27787c4a:/floof/model/art.py diff --git a/floof/model/art.py b/floof/model/art.py index 66cbe0b..ef50dcd 100644 --- a/floof/model/art.py +++ b/floof/model/art.py @@ -10,11 +10,9 @@ from elixir import * from pylons import config from floof.lib.file_storage import get_path, save_file - from floof.lib.dbhelpers import find_or_create - class Art(Entity): title = Field(Unicode(120)) original_filename = Field(Unicode(120)) @@ -59,7 +57,7 @@ class Art(Entity): class Tag(Entity): - # look into how ondelete works. It just sets a database property. + # look into how ondelete works. This just sets a database property. art = ManyToOne('Art', ondelete='cascade') tagger = ManyToOne('User') tagtext = ManyToOne('TagText')