Thursday, July 7, 2011

Re: Display FK List

Hi,

maybe autocomplete will user frendly solution.

Radovan
http://www.yau.sk

On 7. Júl, 10:39 h., Venkatraman S <venka...@gmail.com> wrote:
> i have 2 models: Items and a Transactions .
>
> Transactions has a fk to Items. Now, there can be millions of Items, and
> when i render Transaction as a modelform, i see that all the Items are being
> fetched - and this is quiet a lot of txt being sent over the wire. Is there
> an efficient way of associating this txn with an item without displaying it
> as a HUGE model form?
>
> What i can think of is :
> 1. suppress/exclude the Item while rendering the form, and instead show
> another form when the User mentions that he wants to associate this Item
> with a Txn.
> 2. Show an ajax field in Items, so that only a subset of the Items are shown
> as the user progressively types.
>
> However, i am looking for more efficient solutions.
>
> -V

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate