hi got solution ot the problem .
just we have to add raw_id_admin = True as a attribute in defining the
foriegn key in our model . this will show the textbox in our admin interface



On 3/6/07, MacH G <[EMAIL PROTECTED]> wrote:
>
> hi thanks carole today full day searched for this problem could not find
> any solution . here in my model i  even have categories but there are only
> 4-5 and each category has got 500-700 items . so if u can tell me an
> efficient way like manytomany field where i have a list box and could search
> it ... u told we can use javascript i m aware of using js in django pls
> could u suggest me some resource in the web where i can do the same
>
>
>
> regards
>
> ashok
>  On 3/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >
> > You could try adding some javascript to your page to filter the drop
> > down based on specific criteria .... just a thought.... but when
> > something has that many entries (not sure what your app is) ... seems
> > like maybe they should be categorized...then have the person choose a
> > category first.
> >
> > On Mar 5, 5:00 am, "MacH G" < [EMAIL PROTECTED]> wrote:
> > > hi all,
> > >
> > > sorry to bother u ppl for the second time in a day . in my application
> > i
> > > have foreign key relationship which is shown as a drop down list box.
> > but in
> > > my application it contains some 2000-3000 entries . so i tried to
> > display in
> > > other format . but it seems that a foreign could only be displayed as
> > drop
> > > down list box or as radio buttons . an application with such huge
> > entries it
> > > is tough to search and find the particular element. is there any way
> > of
> > > showing it like a list box with a search field as we have
> > in  ManyToMany
> > > relation. i searched for the same in ManyToMany Field and got added
> > > this attribute  *filter_interface = models.HORIZONTAL   *. is there
> > any of
> > > achievng this .
> > >
> > > sorry for making it to lengthy
> > >
> > > --
> > > ashok (my 3rd day in dJango)
> >
> >
> > > >
> >
>
>
>


-- 
ashok

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to