How to merge two lists into one form?

2013-07-21 Thread Tymoteusz Jankowski
I have 2 things: - list of fruits (eg.: apples, lemons, strawberries) - list of answers (eg.: 'selling', 'making', 'both') How can i merge these lists into django form which products something like the html here . The desired form would allow user to pick an ONE answe

Re: How to merge two lists into one form?

2013-07-22 Thread Tymoteusz Jankowski
self.fields[name] = forms.ChoiceField(choices=ANSWERS) This won't give fieldset (like in linked example), but it wouldn't have. On Sunday, July 21, 2013 6:56:25 PM UTC+2, Tymoteusz Jankowski wrote: > > I have 2 things: > - list of fruits (eg.: apples, lemons, strawb

Re: Is there a plan to modernize Django-admin?

2015-07-18 Thread Tymoteusz Jankowski
Thanks for clarification, I'll check both: django-admin2 and django-xadmin. On Sat, Jul 18, 2015 at 2:04 AM Russell Keith-Magee wrote: > On Sat, Jul 18, 2015 at 2:54 AM, xliiv > wrote: > >> Hi! >> Like the topic, though I don't mean only frontend. >> Backend could be also rewritten with for ex