Package turbogears :: Package toolbox :: Package catwalk :: Module browse :: Class Browse

Class Browse

source code

            object --+    
                     |    
controllers.Controller --+
                         |
                        Browse

Instance Methods
 
__getattr__(self, attrib)
Delegate basic methods to CatWalk.
source code
 
index(self, object_name, start=0, page_size=10, context='', filters='') source code
 
columns(self, object_name, context='') source code
 
save_columns(self, object_name, context, order, hidden_columns, updated_fk_labels) source code
 
extended_column_headers(self, object_name, context) source code
 
column_headers(self, object_name, context) source code
 
arrange_columns(self, headers, context) source code
 
prepare_filter(self, obj, filter) source code
 
filtered_query(self, obj, filters) source code
 
rows_for_model(self, object_name, start, page_size, filters) source code
 
relation_values(self, object_name, rows) source code
 
foreign_key_alias_value(self, object_name, rows) source code
 
foreign_key_query(self, column, alias, ids) source code
 
join_foreign_key(self, column) source code
 
column_label_options(self, column) source code
 
column_labels(self, object_name, extended=False) source code
 
join_labels(self, object_name, extended=False) source code
 
merge_relation_values(self, rows, relations) source code
 
foreign_key_columns(self, object_name) source code
 
field_value(self, result, column) source code
 
fields(self, object_name, result) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from controllers.Controller: is_app_root

Properties

Inherited from object: __class__

Method Details

index(self, object_name, start=0, page_size=10, context='', filters='')

source code 
Decorators:
  • @expose(template= 'turbogears.toolbox.catwalk.browse_grid', allow_json= True)

columns(self, object_name, context='')

source code 
Decorators:
  • @expose(template= 'turbogears.toolbox.catwalk.columns', allow_json= True)

save_columns(self, object_name, context, order, hidden_columns, updated_fk_labels)

source code 
Decorators:
  • @expose(allow_json= True)