Changes between Version 53 and Version 54 of S3/S3Model/ComponentResources


Ignore:
Timestamp:
06/16/14 18:22:31 (11 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3Model/ComponentResources

    v53 v54  
    8181s3db.add_components("org_organisation",
    8282                    # Component URL: /org/organisation/<id>/office
    83                     org_office="organisation_id",
    84                    )
     83                    org_office = "organisation_id",
     84                    )
    8585}}}
    8686
     
    9292s3db.add_components("org_organisation",
    9393                    # Component URL: /org/organisation/<id>/headquarter
    94                     org_office={"name": "headquarter",       # the component alias
    95                                 "joinby": "organisation_id", # the foreign key
    96                                },
    97                    )
     94                    org_office = {"name": "headquarter",       # the component alias
     95                                  "joinby": "organisation_id", # the foreign key
     96                                  },
     97                    )
    9898}}}
    9999