| #summary Host entity model |
| #labels Phase-Design,Contents-Skeleton,Design-Model |
| |
| _*Eventually, this topic should be populated by the output of*_ `pydoc`. |
| |
| {{{ |
| class Host(db.Model): |
| """Host details for a specific Program. |
| |
| A Host entity participates in a number of relationships: |
| |
| admin) a 1:1 relationship associating a Host with more generic |
| Administrator details and capabilities. The back-reference in the |
| Administrator model is a Query named 'host'. |
| """ |
| admin = db.ReferenceProperty(reference_class=Administrator, required=True, |
| collection_name="host") |
| }}} |
| |
| ---- |
| _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] |