Closed tompollard closed 1 month ago
The issue is with the request.get_raw_uri
call in this chunk:
According to the Django Release Notes at https://django.readthedocs.io/en/stable/releases/4.0.html:
The undocumented
HttpRequest.get_raw_uri()
method is removed. The HttpRequest.build_absolute_uri() method may be a suitable alternative.
@rafgia please could you take a look at this issue?
@tompollard I've changed the function in 404.html file.
That was quick, thanks @rafgia! Please could you open a pull request with the change? Let me know if it would be helpful to walk through the process of opening a pull request together.
Yes, it might be better to do this operation together, whenever you have time. Thank you @tompollard !
We fairly regularly receive the following email:
@bemoody pointed out that these emails are generated by people coming across a 404 error page and then clicking the text saying:
The email is pre-populated with text, but the function that is supposed to get the URL fails.