Skip to content

Commit

Permalink
CDD-2432 admin
Browse files Browse the repository at this point in the history
  • Loading branch information
mxrman committed Feb 17, 2025
1 parent ffcf144 commit e7511c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions metrics/api/admin.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from django.contrib import admin

from metrics.data.models.api_models import APITimeSeries
from metrics.data.models.rbac_models import RBACGroupPermission, RBACPermission

admin.site.register(APITimeSeries)
admin.site.register(RBACPermission)
admin.site.register(RBACGroupPermission)
2 changes: 1 addition & 1 deletion metrics/data/models/core_models/supporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Meta:
]

def __str__(self):
return self.name
return f"{self.name} ({self.theme.name})"


class Topic(models.Model):
Expand Down

0 comments on commit e7511c4

Please sign in to comment.