Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spamming the submit button causes multiple roommate search items to be created #54

Open
ad6641 opened this issue Nov 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ad6641
Copy link

ad6641 commented Nov 21, 2024

account used: test_user_1

when I am on the create roommate post page
http://django-tutorial-test-before-deploy2.eba-n75bixnu.us-west-2.elasticbeanstalk.com/roommates/

Screenshot 2024-11-21 at 2 31 10 PM

I enter values that are allowed by the form, and then spam the submit button until the page refreshes and takes me to the post details page.
Then, when i navigate to the listings page:
http://django-tutorial-test-before-deploy2.eba-n75bixnu.us-west-2.elasticbeanstalk.com/roommates/

i see many identical posts.
Screenshot 2024-11-21 at 2 30 44 PM

Expected behaviour:
the button becomes disabled once we click it once, and/or there is a listing ID that prevents multiple creations of the same listing.

@realcryptopunk realcryptopunk added the bug Something isn't working label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants