Changes between Version 77 and Version 78 of S3/S3REST/s3_rest_controller


Ignore:
Timestamp:
10/15/12 13:23:17 (12 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/S3REST/s3_rest_controller

    v77 v78  
    264264
    265265  '''Note:''' at the time when the callback is invoked, the record is already deleted from the database.
     266
    266267  '''Note:''' the ''record'' will only contain the record ID but no details
    267268
     269  '''Note:''' ''soft-''deleted (archived) records hold their former foreign keys as a JSON object in the {{{deleted_fk}}} field, whilst all foreign key fields will be set to None.
     270
     271  '''Important:''' Do not delete a record by simply settings its {{{deleted}}} field to True. This would neither perform the necessary cascading, nor invoke any callbacks nor does it properly store and release any foreign key constraints. Always use S3Resource.delete() to delete records!
    268272=== Pagination ===
    269273