From 0448bf2f260bcbbf63f9a73412479066ed2343ed Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Thu, 30 Aug 2018 17:57:19 +0100 Subject: [PATCH] Fixup changes to people model and migration --- opentech/public/people/management/commands/migrate_people.py | 3 +-- opentech/public/people/models.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/opentech/public/people/management/commands/migrate_people.py b/opentech/public/people/management/commands/migrate_people.py index 76be76594..105d37cb2 100644 --- a/opentech/public/people/management/commands/migrate_people.py +++ b/opentech/public/people/management/commands/migrate_people.py @@ -103,9 +103,8 @@ class Command(BaseCommand): '393': Page.objects.get(title='Internet Freedom Fund'), '389': Page.objects.get(title='Rapid Response Fund'), '391': Page.objects.get(title='Core Infrastructure Fund'), - '': Page.objects.get(title='Community Lab'), + 'NOT_USED': Page.objects.get(title='Community Lab'), '394': Page.objects.get(title='Information Controls Fellowship'), - '': None, '390': Page.objects.get(title='Digital Integrity Fellowship'), } diff --git a/opentech/public/people/models.py b/opentech/public/people/models.py index 9d167ac7a..dd43e3b57 100644 --- a/opentech/public/people/models.py +++ b/opentech/public/people/models.py @@ -1,6 +1,5 @@ from django.db import models from django.core.exceptions import ValidationError -from django.utils.functional import cached_property from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator from django.conf import settings -- GitLab