Skip to content

Commit

Permalink
fix: make admin description translatable
Browse files Browse the repository at this point in the history
Co-authored-by: Tuomas Haapala <[email protected]>
  • Loading branch information
2 people authored and charn committed Jun 3, 2024
1 parent 8135f14 commit 50947b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helusers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ADGroupMappingAdmin(admin.ModelAdmin):

ordering = ("ad_group__display_name", "group")

@admin.display(description="Mapping")
@admin.display(description=_("Mapping"))
def get_str(self, obj):
return str(obj)

Expand Down

0 comments on commit 50947b3

Please sign in to comment.