SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit b584d8ee authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix filter method

parent c692ce09
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ def transfer_old_invitations_to_new_tables(apps, schema_editor):
)
# Draft Invitations
for invitation in OldDraftInvitation.objects.processed(processed=False):
for invitation in OldDraftInvitation.objects.filter(processed=False):
new_inv = NewRegistrationInvitation(
title=invitation.title,
first_name=invitation.first_name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment