We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Admin site doesnt show organizers
### Describe the bug
Organizers are not shown in the site admin

### How to reproduce
Steps to reproduce the behaviour:
1. Go to any event
2. See that the organizers field is empty

### Expected behaviour
there should be at least one organizer

### Additional context
multiple organizers broke things again

Admin site doesnt show organizers
### Describe the bug
Organizers are not shown in the site admin

### How to reproduce
Steps to reproduce the behaviour:
1. Go to any event
2. See that the organizers field is empty

### Expected behaviour
there should be at least one organizer

### Additional context
multiple organizers broke things again


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `website/events/emails.py`
Content:
```
1 """The emails defined by the events package."""
2 from django.conf import settings
3 from django.core.mail import EmailMessage
4 from django.template.loader import get_template
5 from django.utils.translation import gettext_lazy as _
6 
7 
8 def notify_first_waiting(event):
9     """Send an email to the first person on the waiting list when someone cancels their registration.
10 
11     :param event: the event
12     """
13     if (
14         event.max_participants is not None
15         and event.eventregistration_set.filter(date_cancelled=None).count()
16         > event.max_participants
17     ):
18         # Prepare email to send to the first person on the waiting list
19         first_waiting = event.eventregistration_set.filter(
20             date_cancelled=None
21         ).order_by("date")[event.max_participants]
22 
23         text_template = get_template("events/member_email.txt")
24 
25         subject = _("[THALIA] Notification about your registration for '{}'").format(
26             event.title
27         )
28 
29         organiser_emails = [
30             organiser.contact_address
31             for organiser in event.organisers.all()
32             if organiser.contact_address is not None
33         ]
34         text_message = text_template.render(
35             {
36                 "event": event,
37                 "registration": first_waiting,
38                 "name": first_waiting.name or first_waiting.member.first_name,
39                 "base_url": settings.BASE_URL,
40                 "organisers": organiser_emails,
41             }
42         )
43 
44         EmailMessage(subject, text_message, to=[first_waiting.email]).send()
45 
46 
47 def notify_organiser(event, registration):
48     """Send an email to the organiser of the event if someone cancels their registration.
49 
50     :param event: the event
51     :param registration: the registration that was cancelled
52     """
53     if not event.organisers.exists():
54         return
55 
56     text_template = get_template("events/organiser_email.txt")
57     subject = f"Registration for {event.title} cancelled by member"
58     text_message = text_template.render({"event": event, "registration": registration})
59 
60     EmailMessage(
61         subject,
62         text_message,
63         to=[
64             organiser.contact_mailinglist.name + "@" + settings.SITE_DOMAIN
65             for organiser in event.organisers.all()
66         ],
67     ).send()
68 
69 
70 def notify_waiting(event, registration):
71     text_template = get_template("events/more_places_email.txt")
72     subject = _("[THALIA] Notification about your registration for '{}'").format(
73         event.title
74     )
75     text_message = text_template.render(
76         {
77             "event": event,
78             "registration": registration,
79             "name": registration.name or registration.member.first_name,
80             "base_url": settings.BASE_URL,
81         }
82     )
83     EmailMessage(subject, text_message, to=[registration.email]).send()
84
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/website/events/emails.py b/website/events/emails.py
--- a/website/events/emails.py
+++ b/website/events/emails.py
@@ -72,12 +72,21 @@
     subject = _("[THALIA] Notification about your registration for '{}'").format(
         event.title
     )
+
+    organiser_emails = [
+        organiser.contact_address
+        for organiser in event.organisers.all()
+        if organiser.contact_address is not None
+    ]
+
     text_message = text_template.render(
         {
             "event": event,
             "registration": registration,
             "name": registration.name or registration.member.first_name,
             "base_url": settings.BASE_URL,
+            "organisers": organiser_emails,
         }
     )
+
     EmailMessage(subject, text_message, to=[registration.email]).send()

{"golden_diff": "diff --git a/website/events/emails.py b/website/events/emails.py\n--- a/website/events/emails.py\n+++ b/website/events/emails.py\n@@ -72,12 +72,21 @@\n     subject = _(\"[THALIA] Notification about your registration for '{}'\").format(\n         event.title\n     )\n+\n+    organiser_emails = [\n+        organiser.contact_address\n+        for organiser in event.organisers.all()\n+        if organiser.contact_address is not None\n+    ]\n+\n     text_message = text_template.render(\n         {\n             \"event\": event,\n             \"registration\": registration,\n             \"name\": registration.name or registration.member.first_name,\n             \"base_url\": settings.BASE_URL,\n+            \"organisers\": organiser_emails,\n         }\n     )\n+\n     EmailMessage(subject, text_message, to=[registration.email]).send()\n", "issue": "Admin site doesnt show organizers\n### Describe the bug\r\nOrganizers are not shown in the site admin\r\n\r\n### How to reproduce\r\nSteps to reproduce the behaviour:\r\n1. Go to any event\r\n2. See that the organizers field is empty\r\n\r\n### Expected behaviour\r\nthere should be at least one organizer\r\n\r\n### Additional context\r\nmultiple organizers broke things again\r\n\nAdmin site doesnt show organizers\n### Describe the bug\r\nOrganizers are not shown in the site admin\r\n\r\n### How to reproduce\r\nSteps to reproduce the behaviour:\r\n1. Go to any event\r\n2. See that the organizers field is empty\r\n\r\n### Expected behaviour\r\nthere should be at least one organizer\r\n\r\n### Additional context\r\nmultiple organizers broke things again\r\n\n", "before_files": [{"content": "\"\"\"The emails defined by the events package.\"\"\"\nfrom django.conf import settings\nfrom django.core.mail import EmailMessage\nfrom django.template.loader import get_template\nfrom django.utils.translation import gettext_lazy as _\n\n\ndef notify_first_waiting(event):\n    \"\"\"Send an email to the first person on the waiting list when someone cancels their registration.\n\n    :param event: the event\n    \"\"\"\n    if (\n        event.max_participants is not None\n        and event.eventregistration_set.filter(date_cancelled=None).count()\n        > event.max_participants\n    ):\n        # Prepare email to send to the first person on the waiting list\n        first_waiting = event.eventregistration_set.filter(\n            date_cancelled=None\n        ).order_by(\"date\")[event.max_participants]\n\n        text_template = get_template(\"events/member_email.txt\")\n\n        subject = _(\"[THALIA] Notification about your registration for '{}'\").format(\n            event.title\n        )\n\n        organiser_emails = [\n            organiser.contact_address\n            for organiser in event.organisers.all()\n            if organiser.contact_address is not None\n        ]\n        text_message = text_template.render(\n            {\n                \"event\": event,\n                \"registration\": first_waiting,\n                \"name\": first_waiting.name or first_waiting.member.first_name,\n                \"base_url\": settings.BASE_URL,\n                \"organisers\": organiser_emails,\n            }\n        )\n\n        EmailMessage(subject, text_message, to=[first_waiting.email]).send()\n\n\ndef notify_organiser(event, registration):\n    \"\"\"Send an email to the organiser of the event if someone cancels their registration.\n\n    :param event: the event\n    :param registration: the registration that was cancelled\n    \"\"\"\n    if not event.organisers.exists():\n        return\n\n    text_template = get_template(\"events/organiser_email.txt\")\n    subject = f\"Registration for {event.title} cancelled by member\"\n    text_message = text_template.render({\"event\": event, \"registration\": registration})\n\n    EmailMessage(\n        subject,\n        text_message,\n        to=[\n            organiser.contact_mailinglist.name + \"@\" + settings.SITE_DOMAIN\n            for organiser in event.organisers.all()\n        ],\n    ).send()\n\n\ndef notify_waiting(event, registration):\n    text_template = get_template(\"events/more_places_email.txt\")\n    subject = _(\"[THALIA] Notification about your registration for '{}'\").format(\n        event.title\n    )\n    text_message = text_template.render(\n        {\n            \"event\": event,\n            \"registration\": registration,\n            \"name\": registration.name or registration.member.first_name,\n            \"base_url\": settings.BASE_URL,\n        }\n    )\n    EmailMessage(subject, text_message, to=[registration.email]).send()\n", "path": "website/events/emails.py"}], "after_files": [{"content": "\"\"\"The emails defined by the events package.\"\"\"\nfrom django.conf import settings\nfrom django.core.mail import EmailMessage\nfrom django.template.loader import get_template\nfrom django.utils.translation import gettext_lazy as _\n\n\ndef notify_first_waiting(event):\n    \"\"\"Send an email to the first person on the waiting list when someone cancels their registration.\n\n    :param event: the event\n    \"\"\"\n    if (\n        event.max_participants is not None\n        and event.eventregistration_set.filter(date_cancelled=None).count()\n        > event.max_participants\n    ):\n        # Prepare email to send to the first person on the waiting list\n        first_waiting = event.eventregistration_set.filter(\n            date_cancelled=None\n        ).order_by(\"date\")[event.max_participants]\n\n        text_template = get_template(\"events/member_email.txt\")\n\n        subject = _(\"[THALIA] Notification about your registration for '{}'\").format(\n            event.title\n        )\n\n        organiser_emails = [\n            organiser.contact_address\n            for organiser in event.organisers.all()\n            if organiser.contact_address is not None\n        ]\n        text_message = text_template.render(\n            {\n                \"event\": event,\n                \"registration\": first_waiting,\n                \"name\": first_waiting.name or first_waiting.member.first_name,\n                \"base_url\": settings.BASE_URL,\n                \"organisers\": organiser_emails,\n            }\n        )\n\n        EmailMessage(subject, text_message, to=[first_waiting.email]).send()\n\n\ndef notify_organiser(event, registration):\n    \"\"\"Send an email to the organiser of the event if someone cancels their registration.\n\n    :param event: the event\n    :param registration: the registration that was cancelled\n    \"\"\"\n    if not event.organisers.exists():\n        return\n\n    text_template = get_template(\"events/organiser_email.txt\")\n    subject = f\"Registration for {event.title} cancelled by member\"\n    text_message = text_template.render({\"event\": event, \"registration\": registration})\n\n    EmailMessage(\n        subject,\n        text_message,\n        to=[\n            organiser.contact_mailinglist.name + \"@\" + settings.SITE_DOMAIN\n            for organiser in event.organisers.all()\n        ],\n    ).send()\n\n\ndef notify_waiting(event, registration):\n    text_template = get_template(\"events/more_places_email.txt\")\n    subject = _(\"[THALIA] Notification about your registration for '{}'\").format(\n        event.title\n    )\n\n    organiser_emails = [\n        organiser.contact_address\n        for organiser in event.organisers.all()\n        if organiser.contact_address is not None\n    ]\n\n    text_message = text_template.render(\n        {\n            \"event\": event,\n            \"registration\": registration,\n            \"name\": registration.name or registration.member.first_name,\n            \"base_url\": settings.BASE_URL,\n            \"organisers\": organiser_emails,\n        }\n    )\n\n    EmailMessage(subject, text_message, to=[registration.email]).send()\n", "path": "website/events/emails.py"}]}