Posts by yan ajiki • 46 points
2 posts
-
1
votes1
answer25
viewsA: display a single Django class value
Along those lines: personagens = Personagem.objects.get(Nome=personagens.Nome) Pass the character name as parameter this way: personagens = Personagem.objects.get(Nome='Finn') If you want the…
-
2
votes1
answer49
viewsA: How to send a Javascript parameter to Python?
You can pass the book_id through the URL by doing the following: @app.route('/add/<int:book_id>') Within your handleResponse function change to add.href = `/add/${item.book_id}`. I’m assuming…