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

Update Candidate Account Provision to Use Bulk Creation #567

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

PBales1
Copy link

@PBales1 PBales1 commented Nov 29, 2023

Previous implemented used for-loop to create accounts when provisioning candidate accounts via csv input, which was slow. This change removes the for loop when creating an account and processing it into the db, instead bulk provisioning and processing accounts into the db. Video attached below demonstrates process; note the fast processing speed compared to current implementation (Video size too large, so placed in linked drive folder).

https://drive.google.com/file/d/1IipyCfeK6iFGA98kBw9gvlkXljmFcEnR/view?usp=sharing

hknweb/events/migrations/0013_alter_icalview_options.py Outdated Show resolved Hide resolved
hknweb/forms.py Outdated Show resolved Hide resolved
hknweb/forms.py Outdated Show resolved Hide resolved
hknweb/forms.py Outdated Show resolved Hide resolved
Copy link
Contributor

@oliver-ni oliver-ni left a comment

Choose a reason for hiding this comment

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

Wait jk we also need to create Profile objects since signals aren't called on bulk writes

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

2 participants