โ๏ธ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ:
To support the channel and encourage new videos, please consider buying me a coffee here:
https://ko-fi.com/bugbytes
โญTop resource to learn Python - https://datacamp.pxf.io/kOjKkV โญ
In this video, we'll add date & category filters to our app, allowing users to filter their transactions between a start and end date, and filter down to one (or more) categories.
We'll also add pytest functions to test this functionality.
Github: https://github.com/bugbytes-io/Django-HTMX-Finance-App
๐ ๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ๐:
00:00 Intro
00:40 Extending django-filter filterset with start & end date
03:46 Adding date filter to form
07:20 Adding category filter to filterset
11:02 Testing filters with pytest
๐ฆ๐ผ๐ฐ๐ถ๐ฎ๐น ๐ ๐ฒ๐ฑ๐ถ๐ฎ:
๐ Blog: https://bugbytes.io/posts/
๐พ Github: https://github.com/bugbytes-io/Django-HTMX-Finance-App
๐ฆ Twitter: https://twitter.com/bugbytesio
๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป:
django-filters: https://django-filter.readthedocs.io/en/stable/
HTMX: https://htmx.org/docs/
#python #django #webdevelopment #htmx