Changes between Version 52 and Version 53 of S3/S3Model/ComponentResources
- Timestamp:
- 02/07/14 10:55:49 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/S3Model/ComponentResources
v52 v53 104 104 {{{#!python 105 105 s3db.add_components("org_organisation", 106 # URL: /org/organisation/X/headquarter106 # Component URL: /org/organisation/<id>/headquarter 107 107 org_office={"name": "headquarter", # the component alias 108 108 "joinby": "organisation_id", # the foreign key … … 120 120 s3db.add_components("org_organisation", 121 121 org_office=( 122 # URL: /org/organisation/X/headquarter122 # Component URL: /org/organisation/<id>/headquarter 123 123 {"name": "headquarter", 124 124 "joinby": "organisation_id", … … 126 126 "filterfor": [4], 127 127 }, 128 # URL: /org/organisation/X/fieldoffice128 # Component URL: /org/organisation/<id>/fieldoffice 129 129 {"name": "fieldoffice", 130 130 "joinby": "organisation_id",