A collection of widgets to do Foreign Key related lookups
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
TGFKLookup-0.1a0.dev-r1772.tar.gz
(19.2 kB
view hashes)
Close
Hashes for TGFKLookup-0.1a0.dev-r1772.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | efbcafffd03629c237d184f0b3ac50d3efb0dff4a47603edf01098ace09ce2f0 |
|
MD5 | 802a79d7814a6ab059eb6245800fff7d |
|
BLAKE2b-256 | bea655a27bfe825b7fe4e9134a7f4398c1d5852e7b4a24ffc7141a8342308ad2 |