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)
Django - List Filtering using a ForeignKey within a ForeignKey
I can filter the list of Bookings from "housing" using the "Housing" ForeignKey
But I need to do it based on the h_type which uses the "HousingType" ForeignKey
I am not s...
Aramantos
Votes: 0
Answers: 1
I'm trying to input data, save it and display it in my view page. I'm not sure what I'm missing
I'm writing a simple product input app, where a user can input their product details, save it in the database and view it in another page. Everything seems to be going fine, no error messages when I r...
Christian Fuh
Votes: 0
Answers: 2
Sending data from template to Django views via button
I'm trying to create a delete button in my template:
<button type="submit" class="btn btn-danger" value={{ instance.name }}> Delete </button>
And I want this button to...
NeonOni
Votes: 0
Answers: 1
Using GET/POST method in shopping cart using two databases
I'm creating an e-commerce site using django, the product data is divided into 2 databases product(products) and size(product size), but I can't make it send the data from the size database to the sho...
Felipe Carneiro
Votes: 0
Answers: 0