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
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_
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.
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
4 matches
Mail list logo