From 6bbd43d941dd4747e3daa6fe6c7f077da37b8bf9 Mon Sep 17 00:00:00 2001 From: dmartin4820 Date: Sun, 6 Oct 2024 17:42:17 -0700 Subject: [PATCH] feat: register admin: url_type --- app/core/admin.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/core/admin.py b/app/core/admin.py index e6c2bfae..d7ba0788 100644 --- a/app/core/admin.py +++ b/app/core/admin.py @@ -21,6 +21,7 @@ from .models import SocMajor from .models import StackElement from .models import StackElementType +from .models import UrlType from .models import User @@ -245,3 +246,8 @@ class CheckTypeAdmin(admin.ModelAdmin): @admin.register(SocMajor) class SocMajorAdmin(admin.ModelAdmin): list_display = ("occ_code", "title") + + +@admin.register(UrlType) +class UrlTypeAdmin(admin.ModelAdmin): + list_display = ("name", "description")