Skip to content

Commit 8824dfd

Browse files
committed
fix: include html file
1 parent 3aa1e1e commit 8824dfd

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
include LICENSE
22
include README.rst
3+
include python_utils/django/keycloak/user_groups_changelist.html
34
recursive-exclude tests *

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "cardo-python-utils"
7-
version = "0.5.dev4"
7+
version = "0.5.dev5"
88
description = "Python library enhanced with a wide range of functions for different scenarios."
99
readme = "README.rst"
1010
requires-python = ">=3.8"

python_utils/django/keycloak/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from .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")

python_utils/django/keycloak/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)