Skip to content

Commit

Permalink
repr() websites when adding them, not just removing.
Browse files Browse the repository at this point in the history
  • Loading branch information
colons committed Nov 7, 2023
1 parent cacb035 commit 752a391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nkdsu/apps/vote/views/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def post(self, request: HttpRequest, username: str) -> HttpResponse:
messages.warning(self.request, ', '.join(e.messages))
return redirect('.')
messages.success(
self.request, f"website {website.url} added to your profile"
self.request, f"website {website.url!r} added to your profile"
)
return redirect('.')

Expand Down

0 comments on commit 752a391

Please sign in to comment.