Re: how do I handle a dropdown in Django whose only purpose is to get data.

2018-01-30 Thread Melvyn Sopacua
On vrijdag 26 januari 2018 22:25:55 CET eil...@themaii.org wrote: > well, you certainly got me correct! I'm fairly new to python - didn't do > much coding to learn. Trial by fire, sort of. and the original person who > put this together is now gone from the company and won't answer any > outstandin

Re: how do I handle a dropdown in Django whose only purpose is to get data.

2018-01-26 Thread eileen
well, you certainly got me correct! I'm fairly new to python - didn't do much coding to learn. Trial by fire, sort of. and the original person who put this together is now gone from the company and won't answer any outstanding questions. Plus, I *think* he got most of the code from 3rd party s

Re: how do I handle a dropdown in Django whose only purpose is to get data.

2018-01-26 Thread Melvyn Sopacua
There are a bunch of issues with this code: 1) Spell Physical correctly: > 2 - Phyiscal > if form.data['handicapped'] is 'Physical' or 'Mental': > handicapped = forms.ChoiceField(choices=[(x, x) for x in ('---', > 'Mental', 'Physcal')], required=False) Comparison of non