the problem is that Form.valor_ultimacompra | tag this bringing all the
input

if you Form.valor_ultimacompra.value works but then I lose the input

would make automatic?




{{Form.valor_ultimacompra | floatformat: 2}}


2013/10/28 Leonardo Giordani <giordani.leona...@gmail.com>

> What is foundation?
> You said that
>
> {{form.valor_ultimacompra}}
>
> works. What about
>
> {{form.valor_ultimacompra|foundation}}
>
> ?
>
>
> Leonardo Giordani
> Author of The Digital Cat <http://lgiordani.github.com>
> My profile on About.me <http://about.me/leonardo.giordani> - My GitHub
> page <https://github.com/lgiordani> - My Coderwall 
> profile<https://coderwall.com/lgiordani>
>
>
> 2013/10/28 fabricio <ponto...@gmail.com>
>
>>
>> no meu modelo
>> valor_ultimacompra = models.DecimalField(u'Vlr.Ult.Compra',
>> max_digits=18, decimal_places=2, default=0, blank=True, null=True)
>>
>>
>> no template
>> {% extends "base.html" %}
>> {% load humanize %}
>> {% load foundation %}
>>
>>
>> <div class="large-4 columns" >
>> {{form.valor_ultimacompra|foundation| floatformat:2 }}
>> </div>
>>
>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/9168889e-0227-4387-8dc1-fe434fecd1a1%40googlegroups.com
>> .
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEhE%2BOn7V4K2enL2TiGX7%2ByNv4__JzTPfQ2uCEzn1W%2BfSpaWqw%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOcDUW%2B77V%3D%3D7Emc7dwfJ1VdWR3p38cuwPDhS_M2SbiRfTu4LQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to