tysm sir
On Wednesday, February 17, 2021 at 9:24:54 AM UTC+5:30 subaru_87 wrote:
> Neha, try changing your template for loop from:
> {% for results in formdata %}
>
> To:
> {% for results in search %}
>
> The name of your queryset in your context (d = {'search': search, 'fd':
> fd, 'td': td})
Neha, try changing your template for loop from:
{% for results in formdata %}
To:
{% for results in search %}
The name of your queryset in your context (d = {'search': search, 'fd': fd,
'td': td}) is search, not formdata.
Also, I’d recommend improving your names. Things like “data” and “result
hi Everyone ,
I have created a application in which I want to filter table between dates
(from and to)dates
But not getting a desired output .
This is my models.py
class data(models.Model):
machinename = models.CharField(max_length=100)
activity = models.CharField(max_length=255)
description
3 matches
Mail list logo