Mercurial > p > roundup > code
comparison doc/customizing.txt @ 5175:e1e40674a0bc
Implement double-precision Number
.. as an option to the 'Number' property.
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Mon, 12 Dec 2016 13:53:47 +0100 |
| parents | 12190efa30d4 |
| children | 349bef975367 |
comparison
equal
deleted
inserted
replaced
| 5174:a76fbb9f5535 | 5175:e1e40674a0bc |
|---|---|
| 654 The default encoding is defined on the ``roundup.password.Password`` | 654 The default encoding is defined on the ``roundup.password.Password`` |
| 655 class. | 655 class. |
| 656 * Date properties store date-and-time stamps. Their values are Timestamp | 656 * Date properties store date-and-time stamps. Their values are Timestamp |
| 657 objects. | 657 objects. |
| 658 * Integer properties store integer values. (Number can store real/float values.) | 658 * Integer properties store integer values. (Number can store real/float values.) |
| 659 * Number properties store numeric values. | 659 * Number properties store numeric values. There is an option to use |
| 660 double-precision floating point numbers. | |
| 660 * Boolean properties store on/off, yes/no, true/false values. | 661 * Boolean properties store on/off, yes/no, true/false values. |
| 661 * A Link property refers to a single other item selected from a | 662 * A Link property refers to a single other item selected from a |
| 662 specified class. The class is part of the property; the value is an | 663 specified class. The class is part of the property; the value is an |
| 663 integer, the id of the chosen item. | 664 integer, the id of the chosen item. |
| 664 * A Multilink property refers to possibly many items in a specified | 665 * A Multilink property refers to possibly many items in a specified |
| 669 | 670 |
| 670 * String properties can have an ``indexme`` attribute that defines if the | 671 * String properties can have an ``indexme`` attribute that defines if the |
| 671 property should be part of the full text index. The default is 'no' but this | 672 property should be part of the full text index. The default is 'no' but this |
| 672 can be set to 'yes' to allow a property's contents to be in the full | 673 can be set to 'yes' to allow a property's contents to be in the full |
| 673 text index. | 674 text index. |
| 675 * Number properties can have a ``use_double`` attribute that, when set | |
| 676 to ``True``, will use double precision floating point in the database. | |
| 674 * Link and Multilink properties can have several attributes: | 677 * Link and Multilink properties can have several attributes: |
| 675 | 678 |
| 676 - ``do_journal``: By default, every change of a link property is | 679 - ``do_journal``: By default, every change of a link property is |
| 677 recorded in the item being linked to (or being unlinked). A typical | 680 recorded in the item being linked to (or being unlinked). A typical |
| 678 use-case for setting ``do_journal='no'`` would be to turn off | 681 use-case for setting ``do_journal='no'`` would be to turn off |
