5 # look into how ondelete works. This just sets a database property.
6 art
= ManyToOne('Art', ondelete
='cascade')
7 tagger
= ManyToOne('User', ondelete
='cascade')
8 tagtext
= ManyToOne('TagText')
10 def __unicode__(self
):
13 return unicode(self
.tagtext
)
15 class TagText(Entity
):
16 text
= Field(Unicode(50)) # gotta enforce this somehow
17 tags
= OneToMany('Tag')
19 def __unicode__(self
):