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 would be very easy for me...
But I don't have a clue how to do it in Django. 

The value inserting in the database should be the key of City and not
the name "New York"... I suppose autoCompleet is a ForeignKeyField...

Enquest


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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