From bcde3251371701edcc8565ccb7d0b8e29bdd8f32 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Fri, 29 Jun 2018 08:25:36 +0200
Subject: [PATCH] Polish up

---
 .../migrations/0004_auto_20180629_0825.py     | 19 +++++++++++++++++++
 colleges/views.py                             |  4 ++--
 2 files changed, 21 insertions(+), 2 deletions(-)
 create mode 100644 colleges/migrations/0004_auto_20180629_0825.py

diff --git a/colleges/migrations/0004_auto_20180629_0825.py b/colleges/migrations/0004_auto_20180629_0825.py
new file mode 100644
index 000000000..20ed86ad9
--- /dev/null
+++ b/colleges/migrations/0004_auto_20180629_0825.py
@@ -0,0 +1,19 @@
+# -*- coding: utf-8 -*-
+# Generated by Django 1.11.4 on 2018-06-29 06:25
+from __future__ import unicode_literals
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+    dependencies = [
+        ('colleges', '0003_prospectivefellow_prospectivefellowevent'),
+    ]
+
+    operations = [
+        migrations.AlterModelOptions(
+            name='prospectivefellow',
+            options={'ordering': ['last_name']},
+        ),
+    ]
diff --git a/colleges/views.py b/colleges/views.py
index 23a757dcb..3d39cbd65 100644
--- a/colleges/views.py
+++ b/colleges/views.py
@@ -16,7 +16,7 @@ from .forms import FellowshipForm, FellowshipTerminateForm, FellowshipRemoveSubm
     FellowshipAddSubmissionForm, AddFellowshipForm, SubmissionAddFellowshipForm,\
     FellowshipRemoveProceedingsForm, FellowshipAddProceedingsForm, SubmissionAddVotingFellowForm,\
     FellowVotingRemoveSubmissionForm,\
-    ProspectiveFellowCreateForm, ProspectiveFellowEventForm
+    ProspectiveFellowCreateForm, ProspectiveFellowEventCreateForm
 from .models import Fellowship, ProspectiveFellow
 
 from scipost.mixins import PermissionsMixin
@@ -361,7 +361,7 @@ class ProspectiveFellowEventCreateView(PermissionsMixin, CreateView):
     Add an event for a Prospective Fellow.
     """
     permission_required = 'scipost.can_manage_college_composition'
-    form_class = ProspectiveFellowEventForm
+    form_class = ProspectiveFellowEventCreateForm
 
     def form_valid(self, form):
         messages.success(self.request, 'Event added successfully')
-- 
GitLab