Metadata-Version: 1.0
Name: tgcrud
Version: 0.8
Summary: Genrate CRUD interface
Home-page: docs.turbogears.org
Author: Fred Lin
Author-email: gasolin+tg@gmail.com
License: UNKNOWN
Download-URL: http://www.python.org/pypi/tgcrud/
Description: 
        1. Define your model in model.py
        2. After you've defined your model, you could use "tg-admin crud" command (Note 1) to generate the crud pack. The syntax is:
        
        $ tg-admin crud [model class name] [package name]
        
        e.x if the model name is BookMark, the package name is BookMarkController, the command is:
        
        $ tg-admin crud BookMark BookMarkController
        
        Then then the 'admin' package is generated(Note 2). You just need take several minutes to customize the formfield to have a proper crud interface.
        
        3. Import the package to your controllers.py with a line:
        
        from admin import admin
        
        and add a branch on your Root():
        
        foo = admin()
        
        4. Customize the form filed in admin/controllers.py
        5. Open the http://localhost:8080/foo to use the customizable interface.
        
        Please refer to http://docs.turbogears.org/1.0/CRUDTemplate for detail
Keywords: turbogears.command
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: TurboGears
