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))
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')