yaakovLowenstein / hx-requests

A package to facilitate the use of HTMX with Django
MIT License
55 stars 6 forks source link

Remove use_full_path from temlate tag #104

Open yaakovLowenstein opened 2 months ago

yaakovLowenstein commented 2 months ago

it causes issues when also using hx-push-url because then it keeps on adding it, not replacing itself. Also really instead it should just be using hx-include on the inputs/forms that are adding the get parameters

yaakovLowenstein commented 2 months ago

I want to confirm that there are not cases where this would be wanted, though you could accomplish it other ways possibly like hx-vals though that wouldnt work if you were doing a post request and wanted the GET parameters also (prob not a likely scenario where you need the full path). Additionally I want to add a template tag forhx-url so that will just render the url string and anything could be added to it (i.e you could pull things off the url if needed)