Package orm2 :: Package util :: Module datatypes :: Class PDomain
[hide private]
[frames] | no frames]

Class PDomain

source code

    object --+            
             |            
      property --+        
                 |        
datatypes.datatype --+    
                     |    
     datatypes.Unicode --+
                         |
                        PDomain

Just like orm2.datatypes.Unicode, except that it doesn't use the backend's charset to convert the Unicode string, but Python's idna (Internationalized Domain Names in Applications) codec which takes care of lowercasing and punicode representation and so on.

Nested Classes [hide private]
  sql_literal_class
SQL literal class for <b>valid</b> Unicode (idna) domain names and email addresses.

Inherited from datatypes.Unicode: python_class


Instance Methods [hide private]
  __init__(self, column=None, title=None, validators=(), widget_specs=(), has_default=False)
  __convert__(self, value)

Inherited from datatypes.Unicode: __set_from_result__

Inherited from datatypes.datatype: __delete__, __get__, __init_dbclass__, __select_after_insert__, __select_this_column__, __set__, __setattr__, add_widget, check_dbobj, data_attribute_name, isset, sql_literal, widget_specs

Inherited from property: __getattribute__, __new__

Inherited from object: __delattr__, __hash__, __reduce__, __reduce_ex__, __repr__, __str__


Class Variables [hide private]

Inherited from property: fdel, fget, fset


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

__init__(self, column=None, title=None, validators=(), widget_specs=(), has_default=False)
(Constructor)

source code 
Overrides: datatypes.datatype.__init__
(inherited documentation)

__convert__(self, value)

source code 
None
Overrides: datatypes.Unicode.__convert__