Permalink
Browse files

corrected reference to reference property

  • Loading branch information...
dacresni committed May 11, 2012
1 parent 02e5320 commit 4df9b0171b92d39c2020a4c664e99b9d441fb275
Showing with 6 additions and 2 deletions.
  1. +6 −2 appengine/Models.py
View
@@ -13,8 +13,12 @@ class Function(db.Model):
name = db.StringProperty(required=True)
#params = db.StringProperty()
#I've been considering the utility of a parameter list for a while
- headers = db.StringList(required=Ture)
- manual = db.Reference(Manual)
+ manual = db.ReferenceProperty(Manual,collection_name="functions")
+
+class Header(db.Model):
+ name = db.StringProperty(required = True)
+ manuals = db.ListProperty(db.Key)
+

0 comments on commit 4df9b01

Please sign in to comment.