schemas/base.py
changeset 10666 7f6b5f023884
parent 10624 48e54aabcd55
child 10907 9ae707db5265
equal deleted inserted replaced
10665:79ff784cd8af 10666:7f6b5f023884
    16 # You should have received a copy of the GNU Lesser General Public License along
    16 # You should have received a copy of the GNU Lesser General Public License along
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """core CubicWeb schema, but not necessary at bootstrap time"""
    18 """core CubicWeb schema, but not necessary at bootstrap time"""
    19 
    19 
    20 __docformat__ = "restructuredtext en"
    20 __docformat__ = "restructuredtext en"
    21 _ = unicode
    21 from cubicweb import _
    22 
    22 
    23 from yams.buildobjs import (EntityType, RelationType, RelationDefinition,
    23 from yams.buildobjs import (EntityType, RelationType, RelationDefinition,
    24                             SubjectRelation,
    24                             SubjectRelation,
    25                             String, TZDatetime, Datetime, Password, Interval,
    25                             String, TZDatetime, Datetime, Password, Interval,
    26                             Boolean, UniqueConstraint)
    26                             Boolean, UniqueConstraint)