Added html field type
bzr revid: nicolas.vanhoren@openerp.com-20120813114619-lqr9zu0rkz6737rp
This commit is contained in:
@@ -227,6 +227,9 @@ class char(_column):
|
||||
class text(_column):
|
||||
_type = 'text'
|
||||
|
||||
class html(text):
|
||||
_type = 'html'
|
||||
|
||||
import __builtin__
|
||||
|
||||
class float(_column):
|
||||
|
||||
@@ -545,6 +545,7 @@ FIELDS_TO_PGTYPES = {
|
||||
fields.boolean: 'bool',
|
||||
fields.integer: 'int4',
|
||||
fields.text: 'text',
|
||||
fields.html: 'text',
|
||||
fields.date: 'date',
|
||||
fields.datetime: 'timestamp',
|
||||
fields.binary: 'bytea',
|
||||
|
||||
Reference in New Issue
Block a user