django-rest-framework-datatables icon indicating copy to clipboard operation
django-rest-framework-datatables copied to clipboard

How to filter by date

Open irfanyppc opened this issue 4 years ago • 4 comments

Hi,

I have a field in Postgres of Date type. I am able to use this plugin to search for text string using regex, however unable to filter by date range.

Could you please suggest a tip of how this could be achieved.

Thanks

irfanyppc avatar Oct 29 '21 23:10 irfanyppc

I believe it will be possible using a combination of django-filters and yadcf. Please refer to this thread for guidance. If you get it working please consider adding it to the example app.

matthewhegarty avatar Oct 30 '21 08:10 matthewhegarty