|
Project Information
|
Not Quite Ready Yet!A utility script on Pylons that will generate operational RESTful CRUD scaffolds according to data table definitions. Features:
To do:
What it's like in action?
Tables = {
'Person': {
'pk': 'id',
'cols': ['name', 'password'],
'list': {'emails' : 'Email'}, #one to many
'option': {'type': 'PersonType'}, #many to one
'options': {'groups': 'Group'}, #many to many
},
'Email': {
'pk': 'id',
'cols': ['address'],
'parent': 'Person',
},
'PersonType': {
'pk': 'id',
'cols': ['name'],
'view_parent': 'Person',
},
'Group': {
'pk': 'id',
'cols': ['name'],
'view_parent': 'Person',
},
}
pre-alpha now available |