diff --git a/scipost_django/production/views.py b/scipost_django/production/views.py
index ce5b01f43f44f553adce53f811edc87a6bed519b..a3b7189d35e12a46768e5b5cebc6a01043090303 100644
--- a/scipost_django/production/views.py
+++ b/scipost_django/production/views.py
@@ -639,7 +639,7 @@ def _hx_update_officer(request, stream_id):
         # Remove old officer.
         else:
             remove_perm("can_work_for_stream", prev_officer.user, productionstream)
-            messages.success(request, "Officer {prev_officer} has been removed.")
+            messages.success(request, f"Officer {prev_officer} has been removed.")
 
     else:
         messages.error(request, "\\n".join(officer_form.errors.values()))