beatonma / django-wm

Automatic Webmention functionality for Django models
https://beatonma.org/webmentions_tester/
GNU General Public License v3.0
12 stars 2 forks source link

Add template for successful submission of webmention #31

Closed philgyford closed 1 year ago

philgyford commented 2 years ago

If target and source URLs are successfully submitted via the form in WebmentionView then it returns:

return HttpResponse("Thank you, your webmention has been accepted.", status=202)

If this was replaced with a basic template then it would be possible for projects using the app to use the view, but to override both the mentions/webmention-submit-manual.html template and the new "thank you" response template, to keep appearances consistent.