2 # floof/floof/model/users.py
4 # Copyright (c) 2009 Scribblr
7 from elixir
import Entity
, Field
, Unicode
, belongs_to
, has_many
10 name
= Field(Unicode(20))
11 has_many('identity_urls', of_kind
='IdentityURL')
13 class IdentityURL(Entity
):
14 url
= Field(Unicode(255))
15 belongs_to('user', of_kind
='User')