From b0f9d150bd7dc478aeffa4e77ce7e9bb41fac60a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Cant=C3=B9?= Date: Tue, 14 Nov 2023 14:58:49 +0100 Subject: [PATCH] add service info to admin --- metadata_catalogue/datasets/admin.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/metadata_catalogue/datasets/admin.py b/metadata_catalogue/datasets/admin.py index babdebd..ec1076d 100644 --- a/metadata_catalogue/datasets/admin.py +++ b/metadata_catalogue/datasets/admin.py @@ -1,8 +1,12 @@ from django.contrib import admin from django.contrib.gis.admin import GISModelAdmin +from solo.admin import SingletonModelAdmin from metadata_catalogue.datasets import models +admin.site.register(models.ServiceInfo, SingletonModelAdmin) + + admin.site.register(models.Dataset) admin.site.register(models.Person)