TGFKLookup 0.1a0.dev-r1772
A collection of widgets to do Foreign Key related lookups
Still a work in progress.
AutoCompletingFKLookupField, it's a prototype based rewrite of the autocompleting TG widget. It allows lookup by ID and text search and shows both fields. Check the widget browser for a demo.
UpdatableSingleSelectField receives a function on the opt_feeder param and will setup a controller automagically to update it when the .update() javascript method from the manager is called. I'm currently using it to make options lists based on other fields. Also takes a predicate if you want to protect the Ajax calls. Demo coming soon.
| File | Type | Py Version | Size | # downloads |
|---|---|---|---|---|
| TGFKLookup-0.1a0.dev-r1772.tar.gz (md5) | Source | 18KB | 40 | |
- Author: Claudio Martinez <claudio s martinez at gmail com>
- Keywords: turbogears.widgets
- License: MIT
- Categories
- Package Index Owner: koba
- DOAP record: TGFKLookup-0.1a0.dev-r1772.xml
