On Fri, Feb 4, 2011 at 3:37 PM, Marcos Moyano wrote:
> Remove (None, "No Period") from your choices and left the required=False on
> your form field. That should work.
>
but I wanted to do was to change the default value of null value:
instead of '--' I want to show "No Period".
this seems to
s/left/leave/
sorry fot the double post.
On Fri, Feb 4, 2011 at 11:37 AM, Marcos Moyano wrote:
> Remove (None, "No Period") from your choices and left the required=False on
> your form field. That should work.
>
> Rgds,
> Marcos
>
>
> On Fri, Feb 4, 2011 at 11:31 AM, Marc Aymerich wrote:
>
>> On
On Fri, Feb 4, 2011 at 3:31 PM, Marc Aymerich wrote:
> On Fri, Feb 4, 2011 at 12:12 PM, Tom Evans wrote:
>> On Fri, Feb 4, 2011 at 11:07 AM, Marc Aymerich wrote:
>>> Hi
>>> In some choices widgets I want to represent null values as u'No
>>> period' instead of u''
>>>
>>> I try with:
>>>
Remove (None, "No Period") from your choices and left the required=False on
your form field. That should work.
Rgds,
Marcos
On Fri, Feb 4, 2011 at 11:31 AM, Marc Aymerich wrote:
> On Fri, Feb 4, 2011 at 12:12 PM, Tom Evans
> wrote:
> > On Fri, Feb 4, 2011 at 11:07 AM, Marc Aymerich
> wrote:
>
On Fri, Feb 4, 2011 at 12:12 PM, Tom Evans wrote:
> On Fri, Feb 4, 2011 at 11:07 AM, Marc Aymerich wrote:
>> Hi
>> In some choices widgets I want to represent null values as u'No
>> period' instead of u''
>>
>> I try with:
>>
>> PERIOD_CHOICES = getattr(settings, 'PERIOD_CHOICES',
>>
On Fri, Feb 4, 2011 at 11:07 AM, Marc Aymerich wrote:
> Hi
> In some choices widgets I want to represent null values as u'No
> period' instead of u''
>
> I try with:
>
> PERIOD_CHOICES = getattr(settings, 'PERIOD_CHOICES',
> ((None,
> uge
6 matches
Mail list logo