File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
python_utils/django/keycloak Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11include LICENSE
22include README.rst
3+ include python_utils/django/keycloak/user_groups_changelist.html
34recursive-exclude tests *
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " cardo-python-utils"
7- version = " 0.5.dev4 "
7+ version = " 0.5.dev5 "
88description = " Python library enhanced with a wide range of functions for different scenarios."
99readme = " README.rst"
1010requires-python = " >=3.8"
Original file line number Diff line number Diff line change 66from .service import KeycloakService
77
88
9- class UserGroupAdmin (admin .ModelAdmin ):
9+ class UserGroupAdminBase (admin .ModelAdmin ):
1010 list_display = ("path" ,)
1111 search_fields = ("id" , "path" )
1212 readonly_fields = ("id" , "path" )
Original file line number Diff line number Diff line change @@ -15,5 +15,8 @@ class UserGroupBase(models.Model):
1515 db_index = True ,
1616 )
1717
18+ def __str__ (self ):
19+ return self .path
20+
1821 class Meta :
1922 abstract = True
You can’t perform that action at this time.
0 commit comments