Commit 62b26201 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

no need to mix

parent b7c4bdb6c465
"""entity classes for optional person entities
"""entity class person entities
:organization: Logilab
:copyright: 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:copyright: 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: --
__docformat__ = "restructuredtext en"
from cubicweb.mixins import EmailableMixIn
from cubicweb.entities import AnyEntity, fetch_config
class Person(EmailableMixIn, AnyEntity):
class Person(AnyEntity):
"""customized class for Person entities"""
__regid__ = 'Person'
fetch_attrs, fetch_order = fetch_config(['surname', 'firstname'])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment