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

WIP: Add support to record interested activity using existent model #1155

Closed
wants to merge 1 commit into from

Conversation

zoek1
Copy link
Contributor

@zoek1 zoek1 commented May 13, 2018

Description
Checklist
  • linter status: 100% pass
  • changes don't break existing behavior
  • commit message follows commit guidelines
Affected core subsystem(s)
Testing
Refers/Fixes

#1037

Sorry, something went wrong.


Interest.objects.filter(pk__in=list(bounty_ids)).delete()
for interested in _interests:
interested.leaved = datetime.utcnow()

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()

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()

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()

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()

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()

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

@owocki
Copy link
Contributor

owocki commented May 16, 2018

word; hit me up when this is ready to PR review and test!

@mbeacom
Copy link
Contributor

mbeacom commented Jun 7, 2018

@zoek1 Is there anything we can assist you with here?

@mbeacom
Copy link
Contributor

mbeacom commented Jun 7, 2018

Please feel free to re-open this PR if you decide to pick it back up!

@mbeacom mbeacom closed this Jun 7, 2018
@ghost ghost removed the in progress label Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants