On Sun, Nov 16, 2008 at 11:50 PM, Ben Gerdemann <[EMAIL PROTECTED]> wrote:
> I've got everything working correctly except for one problem. When
> adding a new foreign key by clicking on the "+" the hidden field is
> correctly updated with the primary key of the new object, but the
> autocomplete
I've been experimenting with an autocomplete widget for ForeignKey
model fields following the very useful advice from Jannis here:
http://jannisleidel.com/2008/11/autocomplete-form-widget-foreignkey-model-fields/
The basic idea is to create a widget with a hidden text field that
contains the
2 matches
Mail list logo