Re: I have created a application in which i want to filter table between dates (from and to date) but i am not getting desired out put... Please guide me

2021-02-17 Thread neha bhurke
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})

Re: I have created a application in which i want to filter table between dates (from and to date) but i am not getting desired out put... Please guide me

2021-02-16 Thread Jim Illback
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

I have created a application in which i want to filter table between dates (from and to date) but i am not getting desired out put... Please guide me

2021-02-16 Thread neha bhurke
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