| 1 | == Blue Print for Represent changes == |
| 2 | We want to separate out the db[table][field].represent used for the HTML representation (Web2Py core is heavily built on this) from the one which we use for Export representations, such as XLS, CSV, RSS, which shouldn't include HTML tags or AJAX calls. |
| 3 | |
| 4 | We therefore propose subclassing Field to include a new .represent_export or .represent_simple for the other representations (which we control in RESTLike controller & S3XRC & hence requires minimal changes to Web2Py core). |
| 5 | If no .represent_export exists, then it would fallback to using the normal .represent. |
| 6 | |
| 7 | ---- |
| 8 | BluePrints |