| #summary Reviewer entity model |
| #labels Phase-Design,Contents-Skeleton,Design-Model |
| |
| _*Eventually, this topic should be populated by the output of*_ `pydoc`. |
| |
| {{{ |
| class Reviewer(db.Model): |
| """Reviewer details for a specific Program. |
| |
| A Reviewer entity participates in a number of relationships: |
| |
| author) a 1:1 relationship associating a Contributor with generic |
| Author details and capabilities. The back-reference in the Author |
| model is a Query named 'contributor'. |
| |
| reviews) an optional 1:many relationship of Reviews written by the |
| Reviewer. This relation is implemented as the 'reviews' |
| back-reference Query of the Review model 'reviewer' reference. |
| """ |
| author = db.ReferenceProperty(reference_class=Author, required=True, |
| collection_name="reviewer") |
| }}} |
| |
| ---- |
| _Copyright 2008 Google Inc._ |
| _This work is licensed under a_ |
| [http://soc.googlecode.com/svn/wiki/html/licenses/cc-by-attribution-2_5.html Creative Commons Attribution 2.5 License]. |
| [http://creativecommons.org/licenses/by/2.5/ http://soc.googlecode.com/svn/wiki/html/licenses/cc-by-2_5-88x31.png] |