In this video, we will take a look at the django-htmx package. This package provides extensions and tools for working with HTMX in Django projects. These tools can be used to trigger actions on the client side, change HTMX targets for response content, change swap method, and trigger client side redirects and refreshes. ๐ ๐๐ต๐ฎ๐ฝ๐๐ฒ๐ฟ๐: 00:00 Intro 00:34 Installing and Setting up django-htmx 01:25 HtmxMiddleware class and request.htmx property 10:18 HttpResponseClientRedirect 11:32 HttpResponseClientRefresh 13:07 HttpResponseLocation 17:40 HttpResponseStopPolling 21:49: push_url function 24:18 reswap function 26:46 retarget function 33:13 trigger_client_event function โ๏ธ ๐๐๐ ๐บ๐ฒ ๐ฎ ๐ฐ๐ผ๐ณ๐ณ๐ฒ๐ฒ: To support the channel and encourage new videos, please consider buying me a coffee here: https://ko-fi.com/bugbytes โถ๏ธ Full Playlist: https://www.youtube.com/watch?v=Ula0c_rZ6gk&list=PL-2EBeDYMIbRByZ8GXhcnQSuv2dog4JxY ๐ฆ๐ผ๐ฐ๐ถ๐ฎ๐น ๐ ๐ฒ๐ฑ๐ถ๐ฎ: ๐ Blog: https://bugbytes.io/posts/ ๐พ Github: https://github.com/bugbytes-io/ ๐ฆ Twitter: https://twitter.com/bugbytesio ๐ ๐๐๐ฟ๐๐ต๐ฒ๐ฟ ๐ฟ๐ฒ๐ฎ๐ฑ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ถ๐ป๐ณ๐ผ๐ฟ๐บ๐ฎ๐๐ถ๐ผ๐ป: django-htmx: https://django-htmx.readthedocs.io/en/latest/ HTMX installation: https://htmx.org/docs/#installing HX-Location header: https://htmx.org/headers/hx-location/ django-htmx HTTP tools: https://django-htmx.readthedocs.io/en/latest/http.html #django #python #htmx