Skip to content

Commit

Permalink
✨ [#397] Update admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed Oct 17, 2024
1 parent 11e048a commit d1642b8
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 d1642b8

Please sign in to comment.