python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Getting error not found url while making post request to specific url with htmx in Django
I am making like function to my blog without page refreshing. But getting error [06/Apr/2022 20:48:26] "POST /like/post/4/ HTTP/1.1" 404 3945
Here what I do
base.html with htmx settings
<...
Abdusamad
Votes: 0
Answers: 1
Django & HTMX - after GET show only section of html template
I want to create an instagram clone. I created a post.html which includes a post-card.html file for all posts and a post-filter.html to filter the posts.
<!-- simple post.html view -->
<div&g...
Vic Wild
Votes: 0
Answers: 1
JavaScript not functioning after htmx get/post request swapped
I'm building a Django project and trying to get and post data using htmx and everything works, which means I can get and post data there is no problem with that, but the problem is after data is swapp...
Adil Mohak
Votes: 0
Answers: 2
Django and HTMX - AttributeError: 'int' object has no attribute 'get'
I'm trying to make this POST call work with Django:
<span id="quantity-in-cart">{{item.quantity_in_cart}}</span>
<button class="btn btn-success btn-sm" hx-post="...
neisor
Votes: 0
Answers: 1