diff --git a/templates/organize/event_funding.html b/templates/organize/event_funding.html index 9846d4615..0d20e5114 100644 --- a/templates/organize/event_funding.html +++ b/templates/organize/event_funding.html @@ -1,43 +1,57 @@ {% extends "global/base.html" %} +{% load i18n rev static %} {% block content %}
-

Apply for Sponsorship from our Global Partners

+

{% trans "Apply for Sponsorship from our Global Partners" %}

-

Some of our global partners also fund Django Girls workshops. However, they prefer that Django Girls Foundation handle +

{% blocktrans trimmed %} + Some of our global partners also fund Django Girls workshops. However, they prefer that Django Girls Foundation handle the sponsorship application process and they only handle sending the money to the workshop organizers. Django Girls has done this in the past with GitHub sponsorships though that is no longer available. + {% endblocktrans %}

-

Starting November 2023, Django Girls will be handling sponsorship applications for workshops. The organisations Django +

{% blocktrans trimmed %} + Starting November 2023, Django Girls will be handling sponsorship applications for workshops. The organisations Django Girls are handling the sponsorship process are listed below with the terms and conditions of the sponsorship. + {% endblocktrans %}

Django Software Foundation

-

Starting November 2023, sponsorship applications to the DSF will be handled by Django Girls Foundation. The terms +

{% blocktrans trimmed %} + Starting November 2023, sponsorship applications to the DSF will be handled by Django Girls Foundation. The terms and conditions of this sponsorship as laid out by the DSF are as follows: + {% endblocktrans %}

-

To apply for DSF funding, please fill in - this form. +

{% trans "To apply for DSF funding, please fill in + this form." %}

diff --git a/tests/organize/test_views.py b/tests/organize/test_views.py index cc809ecf6..b1f6df2f5 100644 --- a/tests/organize/test_views.py +++ b/tests/organize/test_views.py @@ -1,6 +1,7 @@ import pytest from django.template.loader import render_to_string from django.urls import reverse +from pytest_django.asserts import assertTemplateUsed def test_form_thank_you(client): @@ -111,3 +112,4 @@ def test_organize_form_wizard_workshops_too_close(client, previous_organizer_in_ def test_event_funding(client): response = client.get(reverse("organize:event_funding")) assert response.status_code == 200 + assertTemplateUsed(response, "organize/event_funding.html")