Skip to content

Conversation

gdixon
Copy link
Contributor

@gdixon gdixon commented Nov 26, 2021

Description

This branch contains the following PR's:

--

Migration notes:

$ ./manage.py place_latest_on_past_calcs

$ ./manage.py update_trust_bonus

OR (if we want to see when everything has been updated)

$ ./manage.py update_trust_bonus --call-now 1
$ ./manage.py shell

...

from grants.models import Contribution
contributions = Contribution.objects.all()
print(contributions.count())
for contribution in contributions.iterator():
    print(contribution.pk)
    if not contribution.grant_id:
        contribution.save()
Refers/Fixes
Testing

Tested locally

@thelostone-mc thelostone-mc merged commit 4f3d0de into master Nov 26, 2021
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.

2 participants