Skip to content

Commit 85dd7ae

Browse files
andreasscherbaummhagander
authored andcommitted
Don't use hardcoded pgsql-hackers name in status message
Instead use the value from the settings file, which is what's actually used to send.
1 parent 6b92754 commit 85dd7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pgcommitfest/commitfest/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ def comment(request, cfid, patchid, what):
442442

443443
PatchHistory(patch=patch, by=request.user, what='Posted %s with messageid %s' % (what, msg['Message-ID'])).save()
444444

445-
messages.add_message(request, messages.INFO, "Your email has been queued for pgsql-hackers, and will be sent within a few minutes.")
445+
messages.add_message(request, messages.INFO, "Your email has been queued for %s, and will be sent within a few minutes." % (settings.HACKERS_EMAIL))
446446

447447
return HttpResponseRedirect('/%s/%s/' % (cf.id, patch.id))
448448
else:

0 commit comments

Comments
 (0)