Suppose I want to at a model.autocompleet in the admin.

How would I do this. I would need to edit wich files. Add some Jquery
and something to consult the database. Also I would need Json to get the
array from Django to make the autocompleet field...

Can somebody give me some tips how I would add this to Django...

The following thing I want as result

I got a table country and a table city's...
When a user starts typing New then he should be presented with 

USA::New York
USA::New Mexico
Australia::New ...
etc ...

As this field would be also a foreign key the inserted result should be
the id of the city and not the city it self.

Thanxs for any tips
Enquest


--~--~---------~--~----~------------~-------~--~----~
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