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}}
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.leonardo@gmail.com>
works. What aboutWhat is foundation?You said that
{{form.valor_ultimacompra}}
{{form.valor_ultimacompra|foundation}}
?--Leonardo GiordaniAuthor of The Digital Cat
My profile on About.me - My GitHub page - My Coderwall profile
2013/10/28 fabricio <pontofpi@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>
--To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9168889e-0227-4387-8dc1-fe434fecd1a1%40googlegroups.com.
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+unsubscribe@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.
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+unsubscribe@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+unsubscribe@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.
No comments:
Post a Comment