Re: models.autoCompleet (admin)

2007-02-26 Thread Matthew Flanagan
On 2/26/07, enquest <[EMAIL PROTECTED]> wrote: > > What should I do to add a model... So that you can type > > City = models.autoCompleet(City) > > If somebody would type "new" it should lookup all city's that start with > "new" ... like "New York" and give also the country where this city is. > N

Re: models.autoCompleet (admin)

2007-02-26 Thread [EMAIL PROTECTED]
On Feb 26, 11:09 am, enquest <[EMAIL PROTECTED]> wrote: > What should I do to add a model... So that you can type > > City = models.autoCompleet(City) Hi Enquest, you mean smt like this? def city_search(request, city_name): city_list = City.objects.filter(city__istartswith=city_name).order_

Re: models.autoCompleet (admin)

2007-02-26 Thread Malcolm Tredinnick
On Mon, 2007-02-26 at 11:09 +0100, enquest wrote: > What should I do to add a model... So that you can type > > City = models.autoCompleet(City) > > If somebody would type "new" it should lookup all city's that start with > "new" ... like "New York" and give also the country where this city is.

models.autoCompleet (admin)

2007-02-26 Thread enquest
What should I do to add a model... So that you can type City = models.autoCompleet(City) If somebody would type "new" it should lookup all city's that start with "new" ... like "New York" and give also the country where this city is. New York :: USA I would use for this Jquery. In PhP this wo