My favorites | Sign in
Project Logo
                
Feeds:
People details
Project owners:
  qcshzihnus

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?

  1. put in the scripts into project tree
  2. define your tables with model definitons:
  3. 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',
        },
    }
  4. run the generator
  5. you are ready to manipulate data:

pre-alpha now available









Hosted by Google Code