-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
WIP: Add support to record interested activity using existent model #1155
Conversation
|
||
Interest.objects.filter(pk__in=list(bounty_ids)).delete() | ||
for interested in _interests: | ||
interested.leaved = datetime.utcnow() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E111 indentation is not a multiple of four
Interest.objects.filter(pk__in=list(bounty_ids)).delete() | ||
for interested in _interests: | ||
interested.leaved = datetime.utcnow() | ||
interested.save() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E111 indentation is not a multiple of four
bounty.interested.remove(*interest_ids) | ||
Interest.objects.filter(pk__in=list(interest_ids)).delete() | ||
for interested in _interest: | ||
interested.leaved = datetime.utcnow() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E111 indentation is not a multiple of four
Interest.objects.filter(pk__in=list(interest_ids)).delete() | ||
for interested in _interest: | ||
interested.leaved = datetime.utcnow() | ||
interested.save() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E111 indentation is not a multiple of four
_interest = Interest.objects.filter(profile_id=profile_id, bounty=bounty, leaved__isnull=True) | ||
|
||
for interested in _interest: | ||
interested.leaved = datetime.utcnow() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E111 indentation is not a multiple of four
|
||
for interested in _interest: | ||
interested.leaved = datetime.utcnow() | ||
interested.save() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E111 indentation is not a multiple of four
word; hit me up when this is ready to PR review and test! |
@zoek1 Is there anything we can assist you with here? |
Please feel free to re-open this PR if you decide to pick it back up! |
Description
Checklist
Affected core subsystem(s)
Testing
Refers/Fixes
#1037