app/soc/models/host.py
changeset 244 da80c6519eea
parent 207 8ecc2e4198cd
child 404 44223e50e1fc
equal deleted inserted replaced
243:b0eeea9d6da6 244:da80c6519eea
    33   """
    33   """
    34 
    34 
    35   #: A 1:1 relationship associating a Host with specific
    35   #: A 1:1 relationship associating a Host with specific
    36   #: Sponsor details and capabilities. The back-reference in
    36   #: Sponsor details and capabilities. The back-reference in
    37   #: the Sponsor model is a Query named 'host'.  
    37   #: the Sponsor model is a Query named 'host'.  
    38   sponsor = db.ReferenceProperty(reference_class=models.sponsor.Sponsor,
    38   sponsor = db.ReferenceProperty(reference_class=soc.models.sponsor.Sponsor,
    39                                  required=True, collection_name='hosts')
    39                                  required=True, collection_name='hosts')
    40 
    40