changeset 244 | da80c6519eea |
parent 207 | 8ecc2e4198cd |
child 404 | 44223e50e1fc |
--- a/app/soc/models/host.py Wed Oct 01 07:26:45 2008 +0000 +++ b/app/soc/models/host.py Wed Oct 01 09:43:25 2008 +0000 @@ -35,6 +35,6 @@ #: A 1:1 relationship associating a Host with specific #: Sponsor details and capabilities. The back-reference in #: the Sponsor model is a Query named 'host'. - sponsor = db.ReferenceProperty(reference_class=models.sponsor.Sponsor, + sponsor = db.ReferenceProperty(reference_class=soc.models.sponsor.Sponsor, required=True, collection_name='hosts')