Skip to content

Commit

Permalink
Внесла правки согласно ТЗ.
Browse files Browse the repository at this point in the history
  • Loading branch information
Olga-Zholudeva committed Aug 31, 2023
1 parent 3808c57 commit 350dee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_title(self, obj):
"""Display title in admin panel."""
return obj.title[:100]

@admin.display(description="Текст на кнопке")
@admin.display(description="Текст на кнопке ")
def get_short_description(self, obj):
"""Display short_description in admin panel."""
return obj.short_description[:100]
Expand Down

0 comments on commit 350dee4

Please sign in to comment.