Changes between Version 53 and Version 54 of S3/S3Model/ComponentResources
- Timestamp:
- 06/16/14 18:22:31 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Model/ComponentResources
v53 v54 81 81 s3db.add_components("org_organisation", 82 82 # Component URL: /org/organisation/<id>/office 83 org_office ="organisation_id",84 )83 org_office = "organisation_id", 84 ) 85 85 }}} 86 86 … … 92 92 s3db.add_components("org_organisation", 93 93 # Component URL: /org/organisation/<id>/headquarter 94 org_office ={"name": "headquarter", # the component alias95 "joinby": "organisation_id", # the foreign key96 },97 )94 org_office = {"name": "headquarter", # the component alias 95 "joinby": "organisation_id", # the foreign key 96 }, 97 ) 98 98 }}} 99 99