From 0e2b5ee2287855e57042d5eca08aebcbc33dedce Mon Sep 17 00:00:00 2001 From: Versun Date: Wed, 1 May 2024 18:39:12 +0800 Subject: [PATCH] update show_feed_url --- core/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/admin.py b/core/admin.py index c732b0d..b76c336 100644 --- a/core/admin.py +++ b/core/admin.py @@ -242,7 +242,7 @@ def show_feed_url(self, obj): return format_html( "{1}...", # "", - url, url[:50] + url, url[:30] ) return '' show_feed_url.short_description = _('Feed URL')