We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
typo in "Bibliography" 
Source view has "bibilography" and not bibliography:
<img width="250" alt="image" src="https://github.com/DDMAL/CantusDB/assets/67451875/42a71b35-3598-4e66-abd2-1830d44a9ce6">
Source edit seems to be correct though (https://cantusdatabase.org/edit-source/711225):
<img width="202" alt="image" src="https://github.com/DDMAL/CantusDB/assets/67451875/ac6d001e-c2cb-49af-9e77-a4953bc657a7">


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `django/cantusdb_project/main_app/admin.py`
Content:
```
1 from django.contrib import admin
2 from reversion.admin import VersionAdmin
3 from main_app.models import *
4 from main_app.forms import (
5     AdminCenturyForm,
6     AdminChantForm,
7     AdminFeastForm,
8     AdminGenreForm,
9     AdminNotationForm,
10     AdminOfficeForm,
11     AdminProvenanceForm,
12     AdminRismSiglumForm,
13     AdminSegmentForm,
14     AdminSequenceForm,
15     AdminSourceForm,
16 )
17 
18 # these fields should not be editable by all classes
19 EXCLUDE = (
20     "json_info",
21 )
22 
23 READ_ONLY = (
24     "created_by",
25     "last_updated_by",
26 )
27 
28 class BaseModelAdmin(VersionAdmin):
29     exclude = EXCLUDE
30     readonly_fields = READ_ONLY
31 
32     # if an object is created in the admin interface, assign the user to the created_by field
33     # else if an object is updated in the admin interface, assign the user to the last_updated_by field
34     def save_model(self, request, obj, form, change):
35         if change:
36             obj.last_updated_by = request.user
37         else:
38             obj.created_by = request.user
39         super().save_model(request, obj, form, change)
40 
41 
42 class CenturyAdmin(BaseModelAdmin):
43     search_fields = ("name",)
44     form = AdminCenturyForm
45 
46 
47 class ChantAdmin(BaseModelAdmin):
48     @admin.display(description="Source Siglum")
49     def get_source_siglum(self, obj):
50         if obj.source:
51             return obj.source.siglum
52 
53     list_display = (
54         "incipit",
55         "get_source_siglum",
56         "genre",
57     )
58     search_fields = (
59         "title",
60         "incipit",
61         "cantus_id",
62         "id",
63     )
64 
65     readonly_fields = READ_ONLY + (
66         "date_created",
67         "date_updated",
68     )
69 
70     list_filter = (
71         "genre",
72         "office",
73     )
74     exclude = EXCLUDE + (
75         "col1",
76         "col2",
77         "col3",
78         "next_chant",
79         "s_sequence",
80         "is_last_chant_in_feast",
81         "visible_status",
82         "date",
83         "volpiano_notes",
84         "volpiano_intervals",
85         "title",
86         "differentiae_database",
87     )
88     form = AdminChantForm
89     raw_id_fields = (
90         "source",
91         "feast",
92     )
93     ordering = ("source__siglum",)
94 
95 
96 class DifferentiaAdmin(BaseModelAdmin):
97     search_fields = (
98         "differentia_id",
99         "id",
100     )
101 
102 
103 class FeastAdmin(BaseModelAdmin):
104     search_fields = (
105         "name",
106         "feast_code",
107     )
108     list_display = (
109         "name",
110         "month",
111         "day",
112         "feast_code",
113     )
114     form = AdminFeastForm
115 
116 
117 class GenreAdmin(BaseModelAdmin):
118     search_fields = ("name",)
119     form = AdminGenreForm
120 
121 
122 class NotationAdmin(BaseModelAdmin):
123     search_fields = ("name",)
124     form = AdminNotationForm
125 
126 
127 class OfficeAdmin(BaseModelAdmin):
128     search_fields = ("name",)
129     form = AdminOfficeForm
130 
131 
132 class ProvenanceAdmin(BaseModelAdmin):
133     search_fields = ("name",)
134     form = AdminProvenanceForm
135 
136 
137 class RismSiglumAdmin(BaseModelAdmin):
138     search_fields = ("name",)
139     form = AdminRismSiglumForm
140 
141 
142 class SegmentAdmin(BaseModelAdmin):
143     search_fields = ("name",)
144     form = AdminSegmentForm
145 
146 
147 class SequenceAdmin(BaseModelAdmin):
148     @admin.display(description="Source Siglum")
149     def get_source_siglum(self, obj):
150         if obj.source:
151             return obj.source.siglum
152 
153     search_fields = (
154         "title",
155         "incipit",
156         "cantus_id",
157         "id",
158     )
159     exclude = EXCLUDE + (
160         "c_sequence",
161         "next_chant",
162         "is_last_chant_in_feast",
163         "visible_status",
164     )
165     list_display = ("incipit", "get_source_siglum", "genre")
166     list_filter = (
167         "genre",
168         "office",
169     )
170     raw_id_fields = (
171         "source",
172         "feast",
173     )
174     ordering = ("source__siglum",)
175     form = AdminSequenceForm
176 
177 
178 class SourceAdmin(BaseModelAdmin):
179     exclude = EXCLUDE + ("source_status",)
180 
181     # These search fields are also available on the user-source inline relationship in the user admin page
182     search_fields = (
183         "siglum",
184         "title",
185         "id",
186     )
187     readonly_fields = READ_ONLY + (
188         "number_of_chants",
189         "number_of_melodies",
190         "date_created",
191         "date_updated",
192     )
193     # from the Django docs:
194     # Adding a ManyToManyField to this list will instead use a nifty unobtrusive JavaScript “filter” interface
195     # that allows searching within the options. The unselected and selected options appear in two boxes side by side.
196     filter_horizontal = (
197         "century",
198         "notation",
199         "current_editors",
200         "inventoried_by",
201         "full_text_entered_by",
202         "melodies_entered_by",
203         "proofreaders",
204         "other_editors",
205     )
206 
207     list_display = (
208         "title",
209         "siglum",
210         "id",
211     )
212 
213     list_filter = (
214         "full_source",
215         "segment",
216         "source_status",
217         "published",
218         "century",
219     )
220 
221     ordering = ("siglum",)
222 
223     form = AdminSourceForm
224 
225 
226 admin.site.register(Century, CenturyAdmin)
227 admin.site.register(Chant, ChantAdmin)
228 admin.site.register(Differentia, DifferentiaAdmin)
229 admin.site.register(Feast, FeastAdmin)
230 admin.site.register(Genre, GenreAdmin)
231 admin.site.register(Notation, NotationAdmin)
232 admin.site.register(Office, OfficeAdmin)
233 admin.site.register(Provenance, ProvenanceAdmin)
234 admin.site.register(RismSiglum, RismSiglumAdmin)
235 admin.site.register(Segment, SegmentAdmin)
236 admin.site.register(Sequence, SequenceAdmin)
237 admin.site.register(Source, SourceAdmin)
238
```
--- 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/django/cantusdb_project/main_app/admin.py b/django/cantusdb_project/main_app/admin.py
--- a/django/cantusdb_project/main_app/admin.py
+++ b/django/cantusdb_project/main_app/admin.py
@@ -16,15 +16,14 @@
 )
 
 # these fields should not be editable by all classes
-EXCLUDE = (
-    "json_info",
-)
+EXCLUDE = ("json_info",)
 
 READ_ONLY = (
     "created_by",
     "last_updated_by",
 )
 
+
 class BaseModelAdmin(VersionAdmin):
     exclude = EXCLUDE
     readonly_fields = READ_ONLY

{"golden_diff": "diff --git a/django/cantusdb_project/main_app/admin.py b/django/cantusdb_project/main_app/admin.py\n--- a/django/cantusdb_project/main_app/admin.py\n+++ b/django/cantusdb_project/main_app/admin.py\n@@ -16,15 +16,14 @@\n )\n \n # these fields should not be editable by all classes\n-EXCLUDE = (\n-    \"json_info\",\n-)\n+EXCLUDE = (\"json_info\",)\n \n READ_ONLY = (\n     \"created_by\",\n     \"last_updated_by\",\n )\n \n+\n class BaseModelAdmin(VersionAdmin):\n     exclude = EXCLUDE\n     readonly_fields = READ_ONLY\n", "issue": "typo in \"Bibliography\" \nSource view has \"bibilography\" and not bibliography:\r\n<img width=\"250\" alt=\"image\" src=\"https://github.com/DDMAL/CantusDB/assets/67451875/42a71b35-3598-4e66-abd2-1830d44a9ce6\">\r\nSource edit seems to be correct though (https://cantusdatabase.org/edit-source/711225):\r\n<img width=\"202\" alt=\"image\" src=\"https://github.com/DDMAL/CantusDB/assets/67451875/ac6d001e-c2cb-49af-9e77-a4953bc657a7\">\r\n\n", "before_files": [{"content": "from django.contrib import admin\nfrom reversion.admin import VersionAdmin\nfrom main_app.models import *\nfrom main_app.forms import (\n    AdminCenturyForm,\n    AdminChantForm,\n    AdminFeastForm,\n    AdminGenreForm,\n    AdminNotationForm,\n    AdminOfficeForm,\n    AdminProvenanceForm,\n    AdminRismSiglumForm,\n    AdminSegmentForm,\n    AdminSequenceForm,\n    AdminSourceForm,\n)\n\n# these fields should not be editable by all classes\nEXCLUDE = (\n    \"json_info\",\n)\n\nREAD_ONLY = (\n    \"created_by\",\n    \"last_updated_by\",\n)\n\nclass BaseModelAdmin(VersionAdmin):\n    exclude = EXCLUDE\n    readonly_fields = READ_ONLY\n\n    # if an object is created in the admin interface, assign the user to the created_by field\n    # else if an object is updated in the admin interface, assign the user to the last_updated_by field\n    def save_model(self, request, obj, form, change):\n        if change:\n            obj.last_updated_by = request.user\n        else:\n            obj.created_by = request.user\n        super().save_model(request, obj, form, change)\n\n\nclass CenturyAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminCenturyForm\n\n\nclass ChantAdmin(BaseModelAdmin):\n    @admin.display(description=\"Source Siglum\")\n    def get_source_siglum(self, obj):\n        if obj.source:\n            return obj.source.siglum\n\n    list_display = (\n        \"incipit\",\n        \"get_source_siglum\",\n        \"genre\",\n    )\n    search_fields = (\n        \"title\",\n        \"incipit\",\n        \"cantus_id\",\n        \"id\",\n    )\n\n    readonly_fields = READ_ONLY + (\n        \"date_created\",\n        \"date_updated\",\n    )\n\n    list_filter = (\n        \"genre\",\n        \"office\",\n    )\n    exclude = EXCLUDE + (\n        \"col1\",\n        \"col2\",\n        \"col3\",\n        \"next_chant\",\n        \"s_sequence\",\n        \"is_last_chant_in_feast\",\n        \"visible_status\",\n        \"date\",\n        \"volpiano_notes\",\n        \"volpiano_intervals\",\n        \"title\",\n        \"differentiae_database\",\n    )\n    form = AdminChantForm\n    raw_id_fields = (\n        \"source\",\n        \"feast\",\n    )\n    ordering = (\"source__siglum\",)\n\n\nclass DifferentiaAdmin(BaseModelAdmin):\n    search_fields = (\n        \"differentia_id\",\n        \"id\",\n    )\n\n\nclass FeastAdmin(BaseModelAdmin):\n    search_fields = (\n        \"name\",\n        \"feast_code\",\n    )\n    list_display = (\n        \"name\",\n        \"month\",\n        \"day\",\n        \"feast_code\",\n    )\n    form = AdminFeastForm\n\n\nclass GenreAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminGenreForm\n\n\nclass NotationAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminNotationForm\n\n\nclass OfficeAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminOfficeForm\n\n\nclass ProvenanceAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminProvenanceForm\n\n\nclass RismSiglumAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminRismSiglumForm\n\n\nclass SegmentAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminSegmentForm\n\n\nclass SequenceAdmin(BaseModelAdmin):\n    @admin.display(description=\"Source Siglum\")\n    def get_source_siglum(self, obj):\n        if obj.source:\n            return obj.source.siglum\n\n    search_fields = (\n        \"title\",\n        \"incipit\",\n        \"cantus_id\",\n        \"id\",\n    )\n    exclude = EXCLUDE + (\n        \"c_sequence\",\n        \"next_chant\",\n        \"is_last_chant_in_feast\",\n        \"visible_status\",\n    )\n    list_display = (\"incipit\", \"get_source_siglum\", \"genre\")\n    list_filter = (\n        \"genre\",\n        \"office\",\n    )\n    raw_id_fields = (\n        \"source\",\n        \"feast\",\n    )\n    ordering = (\"source__siglum\",)\n    form = AdminSequenceForm\n\n\nclass SourceAdmin(BaseModelAdmin):\n    exclude = EXCLUDE + (\"source_status\",)\n\n    # These search fields are also available on the user-source inline relationship in the user admin page\n    search_fields = (\n        \"siglum\",\n        \"title\",\n        \"id\",\n    )\n    readonly_fields = READ_ONLY + (\n        \"number_of_chants\",\n        \"number_of_melodies\",\n        \"date_created\",\n        \"date_updated\",\n    )\n    # from the Django docs:\n    # Adding a ManyToManyField to this list will instead use a nifty unobtrusive JavaScript \u201cfilter\u201d interface\n    # that allows searching within the options. The unselected and selected options appear in two boxes side by side.\n    filter_horizontal = (\n        \"century\",\n        \"notation\",\n        \"current_editors\",\n        \"inventoried_by\",\n        \"full_text_entered_by\",\n        \"melodies_entered_by\",\n        \"proofreaders\",\n        \"other_editors\",\n    )\n\n    list_display = (\n        \"title\",\n        \"siglum\",\n        \"id\",\n    )\n\n    list_filter = (\n        \"full_source\",\n        \"segment\",\n        \"source_status\",\n        \"published\",\n        \"century\",\n    )\n\n    ordering = (\"siglum\",)\n\n    form = AdminSourceForm\n\n\nadmin.site.register(Century, CenturyAdmin)\nadmin.site.register(Chant, ChantAdmin)\nadmin.site.register(Differentia, DifferentiaAdmin)\nadmin.site.register(Feast, FeastAdmin)\nadmin.site.register(Genre, GenreAdmin)\nadmin.site.register(Notation, NotationAdmin)\nadmin.site.register(Office, OfficeAdmin)\nadmin.site.register(Provenance, ProvenanceAdmin)\nadmin.site.register(RismSiglum, RismSiglumAdmin)\nadmin.site.register(Segment, SegmentAdmin)\nadmin.site.register(Sequence, SequenceAdmin)\nadmin.site.register(Source, SourceAdmin)\n", "path": "django/cantusdb_project/main_app/admin.py"}], "after_files": [{"content": "from django.contrib import admin\nfrom reversion.admin import VersionAdmin\nfrom main_app.models import *\nfrom main_app.forms import (\n    AdminCenturyForm,\n    AdminChantForm,\n    AdminFeastForm,\n    AdminGenreForm,\n    AdminNotationForm,\n    AdminOfficeForm,\n    AdminProvenanceForm,\n    AdminRismSiglumForm,\n    AdminSegmentForm,\n    AdminSequenceForm,\n    AdminSourceForm,\n)\n\n# these fields should not be editable by all classes\nEXCLUDE = (\"json_info\",)\n\nREAD_ONLY = (\n    \"created_by\",\n    \"last_updated_by\",\n)\n\n\nclass BaseModelAdmin(VersionAdmin):\n    exclude = EXCLUDE\n    readonly_fields = READ_ONLY\n\n    # if an object is created in the admin interface, assign the user to the created_by field\n    # else if an object is updated in the admin interface, assign the user to the last_updated_by field\n    def save_model(self, request, obj, form, change):\n        if change:\n            obj.last_updated_by = request.user\n        else:\n            obj.created_by = request.user\n        super().save_model(request, obj, form, change)\n\n\nclass CenturyAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminCenturyForm\n\n\nclass ChantAdmin(BaseModelAdmin):\n    @admin.display(description=\"Source Siglum\")\n    def get_source_siglum(self, obj):\n        if obj.source:\n            return obj.source.siglum\n\n    list_display = (\n        \"incipit\",\n        \"get_source_siglum\",\n        \"genre\",\n    )\n    search_fields = (\n        \"title\",\n        \"incipit\",\n        \"cantus_id\",\n        \"id\",\n    )\n\n    readonly_fields = READ_ONLY + (\n        \"date_created\",\n        \"date_updated\",\n    )\n\n    list_filter = (\n        \"genre\",\n        \"office\",\n    )\n    exclude = EXCLUDE + (\n        \"col1\",\n        \"col2\",\n        \"col3\",\n        \"next_chant\",\n        \"s_sequence\",\n        \"is_last_chant_in_feast\",\n        \"visible_status\",\n        \"date\",\n        \"volpiano_notes\",\n        \"volpiano_intervals\",\n        \"title\",\n        \"differentiae_database\",\n    )\n    form = AdminChantForm\n    raw_id_fields = (\n        \"source\",\n        \"feast\",\n    )\n    ordering = (\"source__siglum\",)\n\n\nclass DifferentiaAdmin(BaseModelAdmin):\n    search_fields = (\n        \"differentia_id\",\n        \"id\",\n    )\n\n\nclass FeastAdmin(BaseModelAdmin):\n    search_fields = (\n        \"name\",\n        \"feast_code\",\n    )\n    list_display = (\n        \"name\",\n        \"month\",\n        \"day\",\n        \"feast_code\",\n    )\n    form = AdminFeastForm\n\n\nclass GenreAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminGenreForm\n\n\nclass NotationAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminNotationForm\n\n\nclass OfficeAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminOfficeForm\n\n\nclass ProvenanceAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminProvenanceForm\n\n\nclass RismSiglumAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminRismSiglumForm\n\n\nclass SegmentAdmin(BaseModelAdmin):\n    search_fields = (\"name\",)\n    form = AdminSegmentForm\n\n\nclass SequenceAdmin(BaseModelAdmin):\n    @admin.display(description=\"Source Siglum\")\n    def get_source_siglum(self, obj):\n        if obj.source:\n            return obj.source.siglum\n\n    search_fields = (\n        \"title\",\n        \"incipit\",\n        \"cantus_id\",\n        \"id\",\n    )\n    exclude = EXCLUDE + (\n        \"c_sequence\",\n        \"next_chant\",\n        \"is_last_chant_in_feast\",\n        \"visible_status\",\n    )\n    list_display = (\"incipit\", \"get_source_siglum\", \"genre\")\n    list_filter = (\n        \"genre\",\n        \"office\",\n    )\n    raw_id_fields = (\n        \"source\",\n        \"feast\",\n    )\n    ordering = (\"source__siglum\",)\n    form = AdminSequenceForm\n\n\nclass SourceAdmin(BaseModelAdmin):\n    exclude = EXCLUDE + (\"source_status\",)\n\n    # These search fields are also available on the user-source inline relationship in the user admin page\n    search_fields = (\n        \"siglum\",\n        \"title\",\n        \"id\",\n    )\n    readonly_fields = READ_ONLY + (\n        \"number_of_chants\",\n        \"number_of_melodies\",\n        \"date_created\",\n        \"date_updated\",\n    )\n    # from the Django docs:\n    # Adding a ManyToManyField to this list will instead use a nifty unobtrusive JavaScript \u201cfilter\u201d interface\n    # that allows searching within the options. The unselected and selected options appear in two boxes side by side.\n    filter_horizontal = (\n        \"century\",\n        \"notation\",\n        \"current_editors\",\n        \"inventoried_by\",\n        \"full_text_entered_by\",\n        \"melodies_entered_by\",\n        \"proofreaders\",\n        \"other_editors\",\n    )\n\n    list_display = (\n        \"title\",\n        \"siglum\",\n        \"id\",\n    )\n\n    list_filter = (\n        \"full_source\",\n        \"segment\",\n        \"source_status\",\n        \"published\",\n        \"century\",\n    )\n\n    ordering = (\"siglum\",)\n\n    form = AdminSourceForm\n\n\nadmin.site.register(Century, CenturyAdmin)\nadmin.site.register(Chant, ChantAdmin)\nadmin.site.register(Differentia, DifferentiaAdmin)\nadmin.site.register(Feast, FeastAdmin)\nadmin.site.register(Genre, GenreAdmin)\nadmin.site.register(Notation, NotationAdmin)\nadmin.site.register(Office, OfficeAdmin)\nadmin.site.register(Provenance, ProvenanceAdmin)\nadmin.site.register(RismSiglum, RismSiglumAdmin)\nadmin.site.register(Segment, SegmentAdmin)\nadmin.site.register(Sequence, SequenceAdmin)\nadmin.site.register(Source, SourceAdmin)\n", "path": "django/cantusdb_project/main_app/admin.py"}]}