This PR is all about the Bounty model. Previously, the challenge in the bounty update form wasn't pre-selected. That issue is fixed. Now, the challenge field comes pre-selected for bounty creation and update views.
Additionally, we used to pass the challenge_id to the URL as a parameter. With this PR, we put it into the URL path. Doing that made the code clearer.
Finally, unit tests are written and refactoring is made for the following views:
This PR is all about the
Bounty
model. Previously, the challenge in the bounty update form wasn't pre-selected. That issue is fixed. Now, the challenge field comes pre-selected for bounty creation and update views.Additionally, we used to pass the
challenge_id
to the URL as a parameter. With this PR, we put it into the URL path. Doing that made the code clearer.Finally, unit tests are written and refactoring is made for the following views:
CreateBountyView
UpdateBountyView
DeleteBountyView