equal
deleted
inserted
replaced
15 # limitations under the License. |
15 # limitations under the License. |
16 |
16 |
17 """This module contains the Organization Administrator Model.""" |
17 """This module contains the Organization Administrator Model.""" |
18 |
18 |
19 __authors__ = [ |
19 __authors__ = [ |
|
20 '"Lennard de Rijk" <ljvderijk@gmail.com>', |
20 '"Pawel Solyga" <pawel.solyga@gmail.com>', |
21 '"Pawel Solyga" <pawel.solyga@gmail.com>', |
21 ] |
22 ] |
22 |
23 |
23 |
24 |
|
25 from google.appengine.ext import db |
|
26 |
|
27 import soc.models.program |
24 import soc.models.role |
28 import soc.models.role |
25 |
29 |
26 |
30 |
27 class OrgAdmin(soc.models.role.Role): |
31 class OrgAdmin(soc.models.role.Role): |
28 """Administrator details for a specific Organization. |
32 """Administrator details for a specific Organization. |
29 """ |
33 """ |
30 pass |
34 |
|
35 #: A required property that defines the program that this org admin works for |
|
36 program = db.ReferenceProperty(reference_class=soc.models.program.Program, |
|
37 required=True, collection_name='org_admins') |