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

Implement disproof functionality #670

Merged
merged 2 commits into from
Dec 22, 2023
Merged

Implement disproof functionality #670

merged 2 commits into from
Dec 22, 2023

Conversation

Bera0422
Copy link
Contributor

Added is_disproof field to Entry model.
Updated set_workspace_proof function to also get the is_disproof value from the request. If an entry is chosen as disproof, the Entry model will update its is_disproof filed as True.

Migrations should be made after this PR. This PR fixes #661

Added is_disproof field to Entry model.
Updated set_workspace_proof function to also get the is_disproof value from the request. If an entry is chosen as disproof, the Entry model will update its is_disproof filed as True.
@Bera0422 Bera0422 added the backend issues related to backend label Dec 22, 2023
@Bera0422 Bera0422 self-assigned this Dec 22, 2023
Implemented tests for setting and removing an entry as a disproof.
Removed duplicate code segment from views.py
Copy link
Contributor

@hakanaktas0 hakanaktas0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functions as desired.

@hakanaktas0 hakanaktas0 merged commit b27ae42 into backend Dec 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend issues related to backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants