View Single Post
Old 07-16-2010, 12:17 PM   #11
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Yes, there is, but it is buried in the custom column code.

It is an excellent idea to add such a declaration to FieldMetadata, specifically
Code:
    VALID_DATA_TYPES = frozenset(['rating', 'text', 'comments', 'datetime',
                                  'int', 'float', 'bool', 'series'])
I will do it now and submit it for Kovid's perusal.

Edit: Code has been pushed and merged into the trunk.

Last edited by chaley; 07-16-2010 at 01:00 PM.
chaley is offline   Reply With Quote