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