Re: Django newforms RadioSelect issue

2008-06-30 Thread Jeremy Dunck
Wow, we're a bit quick on the draw, huh? :) On Jun 30, 2008, at 21:39, Malcolm Tredinnick <[EMAIL PROTECTED] stick.com> wrote: > > > On Tue, 2008-07-01 at 10:31 +0800, Simon Li wrote: >> Hi Guys; >> >> I use Django newforms,I met a problem > [...] >> I want to get ride of the , could you gu

Re: Django newforms RadioSelect issue

2008-06-30 Thread Bulkan Evcimen
On Jul 1, 12:31 pm, Simon Li <[EMAIL PROTECTED]> wrote: > Hi Guys; > > I use Django newforms,I met a problem Hi, this is the wrong list to post your question about *using* Django, next time post your question to django-users > > UserRole=(['admin','administrator'],['user','Normal User']) > user_

Re: Django newforms RadioSelect issue

2008-06-30 Thread Malcolm Tredinnick
On Tue, 2008-07-01 at 10:31 +0800, Simon Li wrote: > Hi Guys; > > I use Django newforms,I met a problem [...] > I want to get ride of the , could you guys help me? Please post questions like this to the django-users list. This list (django-developers) is for the development of Django itself, no

Re: Django newforms RadioSelect issue

2008-06-30 Thread Collin Grady
Questions of this nature should go on django-users, not django-developers - this list is for the development of Django itself, not usage questions :) -- Collin Grady Sentimentality -- that's what we call the sentiment we don't share. -- Graham Greene --~--~-~--~~-

Django newforms RadioSelect issue

2008-06-30 Thread Simon Li
Hi Guys; I use Django newforms,I met a problem UserRole=(['admin','administrator'],['user','Normal User']) user_role = forms.CharField(widget=forms.RadioSelect(choices=UserRole),error_messages={'required':u'You must choose one!'}) the code is rendered to html is: Administrator Normal User