equal
deleted
inserted
replaced
22 ] |
22 ] |
23 |
23 |
24 |
24 |
25 from google.appengine.ext import db |
25 from google.appengine.ext import db |
26 |
26 |
|
27 from soc.models import organization |
|
28 |
27 import soc.models.reviewer |
29 import soc.models.reviewer |
28 |
30 |
29 |
31 |
30 class Administrator(soc.models.reviewer.Reviewer): |
32 class Administrator(soc.models.reviewer.Reviewer): |
31 """Administrator details for a specific Program. |
33 """Administrator details for a specific Program. |
32 """ |
34 """ |
33 pass |
35 #: A many:1 relationship associating Administrators with specific |
|
36 #: Organization details and capabilities. The back-reference in the |
|
37 #: Organization model is a Query named 'admins'. |
|
38 org = db.ReferenceProperty(reference_class=organization.Organization, |
|
39 required=True, collection_name="admins") |
34 |
40 |