Skip to content

Commit

Permalink
Fix deprecated call to HttpRequest.get_raw_uri. Closes #2296
Browse files Browse the repository at this point in the history
  • Loading branch information
rafgia committed Sep 24, 2024
1 parent bea5f64 commit 168ae5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physionet-django/templates/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>Page Not Found<br />(404)</h1>
<p>If you think this is an error, please email us at: <a href="mailto:{{ ERROR_EMAIL }}?subject=Missing%20URL%20on%20{{ SITE_NAME }}&body={% filter urlencode %}Dear {{ SITE_NAME }} Team,
The following URL is missing from the website:
{{ request.get_raw_uri }}
{{ request.build_absolute_uri }}
{% if request.META.HTTP_REFERER %}
This URL is linked from:
{{ request.META.HTTP_REFERER }}
Expand Down

0 comments on commit 168ae5d

Please sign in to comment.