From b584d8eed07b8d2d0ee360e13237f2a92b2e9c33 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Tue, 20 Feb 2018 21:29:48 +0100
Subject: [PATCH] Fix filter method

---
 invitations/migrations/0011_auto_20180220_1139.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/invitations/migrations/0011_auto_20180220_1139.py b/invitations/migrations/0011_auto_20180220_1139.py
index 271d49b4c..93816e945 100644
--- a/invitations/migrations/0011_auto_20180220_1139.py
+++ b/invitations/migrations/0011_auto_20180220_1139.py
@@ -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,
-- 
GitLab