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