From b4cfd14d1a683089e1e3013d038844c600cd7cfe Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Wed, 18 Jan 2017 10:00:25 +0100
Subject: [PATCH] Remove title from Remark str method

---
 scipost/forms.py  | 3 ++-
 scipost/models.py | 3 +--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/scipost/forms.py b/scipost/forms.py
index 5e3b77bc8..d2e7a9008 100644
--- a/scipost/forms.py
+++ b/scipost/forms.py
@@ -184,7 +184,8 @@ class RemarkForm(forms.Form):
     def __init__(self, *args, **kwargs):
         super(RemarkForm, self).__init__(*args, **kwargs)
         self.fields['remark'].widget.attrs.update(
-            {'rows': 3, 'cols': 40, 'placeholder': 'Enter your remarks here. You can use LaTeX in $...$ or \[ \].'})
+            {'rows': 3, 'cols': 40,
+             'placeholder': 'Enter your remarks here. You can use LaTeX in $...$ or \[ \].'})
 
 
 class SearchForm(forms.Form):
diff --git a/scipost/models.py b/scipost/models.py
index 185d0da7a..9025eddd8 100644
--- a/scipost/models.py
+++ b/scipost/models.py
@@ -358,8 +358,7 @@ class Remark(models.Model):
     remark = models.TextField()
 
     def __str__(self):
-        return (title_dict[self.contributor.title] + ' '
-                + self.contributor.user.first_name + ' '
+        return (self.contributor.user.first_name + ' '
                 + self.contributor.user.last_name + ' on '
                 + self.date.strftime("%Y-%m-%d"))
 
-- 
GitLab