Skip to content

Commit

Permalink
✨ [#397] Update admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm authored and svenvandescheur committed Oct 21, 2024
1 parent f1daba9 commit 8d9cefa
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion backend/src/openarchiefbeheer/config/admin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.contrib import admin
from django.utils.translation import gettext_lazy as _

from solo.admin import SingletonModelAdmin

Expand All @@ -7,7 +8,27 @@

@admin.register(ArchiveConfig)
class ArchiveConfigAdmin(SingletonModelAdmin):
pass
fieldsets = [
(
_("Short procedure"),
{
"fields": ["zaaktypes_short_process"],
},
),
(
_("Zaak report destruction settings"),
{
"fields": [
"bronorganisatie",
"zaaktype",
"statustype",
"resultaattype",
"informatieobjecttype",
"selectielijstklasse",
],
},
),
]


@admin.register(APIConfig)
Expand Down

0 comments on commit 8d9cefa

Please sign in to comment.