Model Browser.
An administration tool for listing, creating, updating or deleting
your SQLObject instances.
|
|
|
|
|
error(self,
msg='
' ,
*_decorator__varargs,
**_decorator__kwargs)
Generic error handler for json replies. |
source code
|
|
|
|
|
load_instance(self,
object_name,
id)
Return and instance of the named object with the requested id |
source code
|
|
|
|
|
multiple_join_count(self,
row,
column)
Return the total number of related objects. |
source code
|
|
|
related_join_count(self,
row,
column)
Return the total number of related objects. |
source code
|
|
|
object_field_for_foreign_key(self,
row,
column)
Return the foreign key value. |
source code
|
|
|
update_object(self,
object_name,
id,
values) |
source code
|
|
|
remove_object(self,
object_name,
id)
Remove the object by id. |
source code
|
|
|
|
|
|
|
extract_decimal_value(self,
value,
not_none) |
source code
|
|
|
|
|
|
|
|
|
|
|
object_joins(self,
objectName,
id,
join,
joinType,
joinObjectName='
' )
Collect the joined instances into a dictionary. |
source code
|
|
|
object_representation(self,
obj)
Utility method that returns a stripped object representation. |
source code
|
|
|
get_column_type(self,
column)
Given a column representation return the column type. |
source code
|
|
|
|
|
|
|
|
|
|
|
get_string_properties(self,
column,
properties)
Extract the SOStringCol properties from the column object. |
source code
|
|
|
get_foreign_key_properties(self,
column,
properties)
Extract the foreignKey properties from the column object. |
source code
|
|
|
|
|
|
|
get_inherited_columns(self,
obj)
Return the columns inherited from the parent class |
source code
|
|
|
is_inheritable_base_class(self,
obj)
Check if the object is a direct subclass of InheritableSQLObject |
source code
|
|
|
|
|
load_state(self)
Retrieve the pickled state from disc. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
save_model_order(self,
models)
Store the new order of the listed models. |
source code
|
|
|
|
|
|
|
add(self,
*_decorator__varargs,
**v)
Create a new instance of an object. |
source code
|
|
|
update(self,
*_decorator__varargs,
**values)
Update the objects properties. |
source code
|
|
|
remove(self,
objectName,
id,
*_decorator__varargs,
**_decorator__kwargs)
Remove and instance by id. |
source code
|
|
|
remove_single_join(self,
object_name,
id,
join_object_name,
join_object_id,
*_decorator__varargs,
**_decorator__kwargs)
Remove a single join instance by id. |
source code
|
|
|
saveModelOrder(self,
models,
*_decorator__varargs,
**_decorator__kwargs)
Save the preferred order of the listed models. |
source code
|
|
|
columnOrder(self,
objectName,
cols,
*_decorator__varargs,
**_decorator__kwargs)
Save the preferred order of the object's columns. |
source code
|
|
|
instances(self,
objectName,
start=0,
*_decorator__varargs,
**_decorator__kwargs)
Get object instances. |
source code
|
|
|
|
|
updateJoins(self,
objectName,
id,
join,
joinType,
joinObjectName,
joins,
*_decorator__varargs,
**_decorator__kwargs)
Update joins. |
source code
|
|
|
|
|
updateColumnsJoinView(self,
objectName,
id,
join,
joinType,
joinObjectName,
column,
*_decorator__varargs,
**_decorator__kwargs)
Update column in join view. |
source code
|
|
|
joins(self,
objectName,
id,
join,
joinType,
joinObjectName,
*_decorator__varargs,
**_decorator__kwargs)
Get joins. |
source code
|
|
|
|
|
instance(self,
objectName,
id,
*_decorator__varargs,
**_decorator__kwargs)
Get object instance. |
source code
|
|
|
columnsForLabel(self,
objectName,
foreignObjectName,
foreignKeyName,
*_decorator__varargs,
**_decorator__kwargs)
Get columns for label. |
source code
|
|
|
setColumnForLabel(self,
objectName,
foreignObjectName,
foreignKeyName,
columnName,
*_decorator__varargs,
**_decorator__kwargs)
Set columns for label. |
source code
|
|
|
columns(self,
objectName,
*_decorator__varargs,
**kv)
Return JSON structure containing a list of column properties. |
source code
|
|
|
|
|
list(self,
*_decorator__varargs,
**_decorator__kwargs)
Return JSON structure containing a list of available objects. |
source code
|
|
|
index(self,
*_decorator__varargs,
**_decorator__kwargs)
Main CatWalk page. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|