Posts by fsimoes • 31 points
2 posts
-
1
votes1
answer67
viewsA: How to select multiple items from a dropdown, choose these items with a button, and then reload the screen?
You only get the last amount because you are requesting a list. In your views, you must use request.GET.getlist('servico_cad') in order to handle the two options chosen.
-
2
votes1
answer228
viewsA: Page not found(404) - polls views Django tutorial
Is your last code even in polls.models? If so, that’s where the bug is. You need to create a file called 'urls.py' within the 'polls' app. This is how your project’s.py urls will include…