Skip to content

Commit

Permalink
update show_feed_url
Browse files Browse the repository at this point in the history
  • Loading branch information
versun committed May 1, 2024
1 parent beeb0f7 commit 0e2b5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def show_feed_url(self, obj):
return format_html(
"<a href='{0}' target='_blank'>{1}...</a>",
# "<button type='button' class='btn' data-url='{0}' onclick=''>Update</button>",
url, url[:50]
url, url[:30]
)
return ''
show_feed_url.short_description = _('Feed URL')
Expand Down

0 comments on commit 0e2b5ee

Please sign in to comment.