django - Equivalent replacement for ListProperty(db.Key) in djangoappengine -


I'm trying to use more, but I am unsure how I can write models to include the standard I know that djangotoolbox provides this field type but I am unable to detect exact syntax.

 
code> class profiles (db.model): data_list = db Listproperty (DBK) class data (db.model): name = db StringProperty ()

View:

  prof = profile () data = data. For all data (data): prof.data_list.append ( Data) /// Here data_list data unit Data.get (prof.Data_list) will be able to obtain all data entities whose keys are in the data_list attribute  

Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -