From 46441aa667ac5db5afbaa68e48ce1df744c67f98 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 13 Nov 2024 21:05:09 +0930 Subject: [PATCH] feat(access): render team_name field as anchor ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23 --- app/access/serializers/teams.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/access/serializers/teams.py b/app/access/serializers/teams.py index a1856d287..cf813a52f 100644 --- a/app/access/serializers/teams.py +++ b/app/access/serializers/teams.py @@ -10,6 +10,8 @@ from app.serializers.permission import PermissionBaseSerializer +from core import fields as centurion_field + class TeamBaseSerializer(serializers.ModelSerializer): @@ -84,6 +86,8 @@ def get_url(self, item) -> dict: ) } + team_name = centurion_field.CharField( autolink = True ) + class Meta: