What you are talking about is a form. Form: https://docs.djangoproject.com/en/dev/topics/forms/ Autocomplete: https://code.djangoproject.com/wiki/AutoCompleteSolutions Unique fields: https://docs.djangoproject.com/en/1.3/ref/forms/validation/
On Sat, Jan 7, 2012 at 11:56 AM, Bill Beal <b.b...@eximflow.com> wrote: > Hi all, > > I've been doing Django and mostly backend Python for a few months, and > I don't really know the limits of what can be done without resorting > to JavaScript and Ajax. Here's what I need to do: the user wants to > pick an individual from one of a number of lists and have the detailed > information come up editable for the one picked. My top-level list is > [Lions, Tigers, Bears, All]. The user picks Tigers, and then I present > the second-level Tigers list: [Tony, Hobbes, Tigger, Rajah]. The user > picks Hobbes, and then I present the detailed information for Hobbes > in an editable form: name, address etc. How clunky does this have to > be, in terms of mouse clicks and pages downloaded? I've read in more > than one place that if you use JavaScript you'd better have a version > of your page that works OK without it. > > For extra credit, what high-powered tools would be needed to do > autocompletion, for example the user starts typing "Hobbes" into the > Name field and as soon as I find a unique match I present the details? > Or, show a list of possible matches when the partial field is not > unique? > > I've been reading books, but most of them just show me how to build a > particular kind of website using Django. > > Thanks for any help you can lend! > > Bill Beal > > -- > 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 > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.