﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35080	Reconsideration of HTTP Method Integration in Django for Enhanced HTMX Compatibility and similar frontend expe	code-on	nobody	"I am reaching out to propose a reconsideration of Django's current handling of HTTP methods, specifically in the context of modern web development practices and the growing adoption of libraries such as HTMX.

I understand that a similar request was previously declined (referenced in Django Ticket #12635 https://code.djangoproject.com/ticket/12635). However, the landscape of web development has significantly evolved since then. The integration of explicit HTTP methods such as DELETE, POST, PATCH, and PUT could greatly enhance Django's compatibility with HTMX and similar libraries.

At present, Django views support methods like post, get, delete, and patch. However, integrating these methods with HTMX often leads to a suboptimal experience. This is partly due to the necessity of parsing request.body to access the transmitted values. Frameworks like Django Rest Framework (DRF) and other frontend libraries provide a more direct handling of these HTTP methods.

By supporting these HTTP methods more explicitly, Django could enable cleaner and more efficient code, particularly in the context of class-based views. This change would reduce the need for creating multiple URLs and separate functions for different HTTP methods.

Als for new people to django it makes things more clear if the missing request.DELETE and request.PATCH, PUT are there.
"	New feature	closed	Uncategorized	dev	Normal	wontfix	htmx, hx-delete, hx-post, request.POST, request.DELETE, request.PATCH		Unreviewed	0	0	0	0	0	0
