goa/db.py
branchtls-sprint
changeset 713 5adb6d8e5fa7
parent 447 0e52d72104a6
child 1131 544609e83317
equal deleted inserted replaced
712:ce49e3885453 713:5adb6d8e5fa7
    23 * XXX reference property always return a list of objects, not the instance
    23 * XXX reference property always return a list of objects, not the instance
    24 * XXX name/collection_name argument of properties constructor are ignored
    24 * XXX name/collection_name argument of properties constructor are ignored
    25 * XXX ListProperty
    25 * XXX ListProperty
    26 
    26 
    27 :organization: Logilab
    27 :organization: Logilab
    28 :copyright: 2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
    28 :copyright: 2008-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
    29 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
    29 :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
    30 """
    30 """
    31 __docformat__ = "restructuredtext en"
    31 __docformat__ = "restructuredtext en"
    32 
    32 
    33 from datetime import datetime
    33 from datetime import datetime
    35 
    35 
    36 from logilab.common.decorators import cached, iclassmethod
    36 from logilab.common.decorators import cached, iclassmethod
    37 
    37 
    38 from cubicweb import RequestSessionMixIn, Binary, entities
    38 from cubicweb import RequestSessionMixIn, Binary, entities
    39 from cubicweb.rset import ResultSet
    39 from cubicweb.rset import ResultSet
    40 from cubicweb.common.entity import metaentity
    40 from cubicweb.entity import metaentity
    41 from cubicweb.server.utils import crypt_password
    41 from cubicweb.server.utils import crypt_password
    42 from cubicweb.goa import use_mx_for_dates, mx2datetime, MODE
    42 from cubicweb.goa import use_mx_for_dates, mx2datetime, MODE
    43 from cubicweb.goa.dbinit import init_relations
    43 from cubicweb.goa.dbinit import init_relations
    44 
    44 
    45 from google.appengine.api.datastore import Get, Put, Key, Entity, Query
    45 from google.appengine.api.datastore import Get, Put, Key, Entity, Query