Help please!!
I need do like this
in django 1.9 template tag
{% if model1.obj == model2.obj %}
print ok
{% else %}
print not OK
{% endif %}
but don't work.
someone help me??
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe fr
A sample project to reproduce the problem is probably needed.
On Thursday, June 9, 2016 at 12:33:24 PM UTC-4, Ing. Jaime Sanchez wrote:
>
> Help please!!
>
> I need do like this
> in django 1.9 template tag
>
> {% if model1.obj == model2.obj %}
> print ok
> {% else %}
> print not OK
> {% endif %}
ok this is view.
def junior_pending_impacts(request, pk=None):
queryset_list = IgcNew.objects.all()
count_new = IgcNew.objects.filter(IGC_Status__contains='New').count()
# log.warning('%s' % count_new)
noregistro = overall_impact.objects.all()
# log.warning('%s' % overall_impac
3 matches
Mail list logo