We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2dc65aa + 95dff03 commit 2ab1b27Copy full SHA for 2ab1b27
1 file changed
dref/admin.py
@@ -11,6 +11,7 @@
11
IdentifiedNeed,
12
PlannedIntervention,
13
RiskSecurity,
14
+ SourceInformation,
15
)
16
17
@@ -62,6 +63,11 @@ class DrefFileAdmin(admin.ModelAdmin):
62
63
search_fields = ("file",)
64
65
66
+@admin.register(SourceInformation)
67
+class SourceInformationAdmin(admin.ModelAdmin):
68
+ search_fields = ("source_name",)
69
+
70
71
@admin.register(Dref)
72
class DrefAdmin(
73
CompareVersionAdmin,
@@ -202,6 +208,11 @@ class DrefFinalReportAdmin(
202
208
"cover_image",
203
209
"financial_report",
204
210
"risk_security",
211
+ "needs_identified",
212
+ "planned_interventions",
213
+ "users",
214
+ "national_society_actions",
215
+ "source_information",
205
216
206
217
list_filter = ["dref"]
207
218
search_fields = ["title", "national_society__name", "appeal_code"]
0 commit comments