Re: approach on newforms fields for foreign key that can be selected or created

2008-05-07 Thread [EMAIL PROTECTED]
I have to deal with something like this at work, what I did was just ripped off the little magnifying glass thing the admin site uses when you use raw_id_admin. It's not exactly what you're looking for, but it has the same result. On May 6, 12:12 pm, Dan Conner <[EMAIL PROTECTED]> wrote: > Thanks

Re: approach on newforms fields for foreign key that can be selected or created

2008-05-06 Thread Dan Conner
Thanks for the input Christian. The question of filtering the Collections for the particular user was one I dealt with, and I recognize your site as one that did help me on that question a few days ago. Now, I want to have two form inputs related to selecting a Collection on a form to create new

Re: approach on newforms fields for foreign key that can be selected or created

2008-05-06 Thread Christian Joergensen
Dan Conner wrote: [...] > Any thoughts on a good approach, or link to examples? I have a draft text on my blog that i was working on some time ago. Maybe you can get inspired: http://www.technobabble.dk/2008/jan/06/filtering-foreign-key-choices-newforms-admin/ Maybe I should test it against