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

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -