Skip to content

Commit b1eb535

Browse files
harriebirdSaptakS
authored andcommitted
Fixed error 404 on foundations urls when coming from other subdomain
1 parent 1856964 commit b1eb535

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

djangoproject/templates/includes/footer.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
{% load hosts %}
2+
13
<footer>
24
<div class="subfooter">
35
<div class="container">
@@ -59,9 +61,9 @@ <h3>Follow Us</h3>
5961
<h3>Support Us</h3>
6062
<ul>
6163
<li><a href="{% url "fundraising:index" %}">Sponsor Django</a></li>
62-
<li><a href="/foundation/corporate-membership/">Corporate membership</a></li>
64+
<li><a href="{% host_url "homepage" host "www" %}foundation/corporate-membership/">Corporate membership</a></li>
6365
<li><a href="https://django.threadless.com/" target="_blank">Official merchandise store</a></li>
64-
<li><a href="/foundation/donate/#benevity-giving">Benevity Workplace Giving Program</a></li>
66+
<li><a href="{% host_url "homepage" host "www" %}foundation/donate/#benevity-giving">Benevity Workplace Giving Program</a></li>
6567
</ul>
6668
</div>
6769
</div>

0 commit comments

Comments
 (0)