From 50ae0428aabc03b471d6e92db4c3a8ca25dabc2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20Hol=C3=BD?= Date: Sat, 30 Mar 2024 14:06:10 +0100 Subject: [PATCH] fix admin_order_field for recurring__pricing --- plans/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/admin.py b/plans/admin.py index e19ab4a..3e88d15 100644 --- a/plans/admin.py +++ b/plans/admin.py @@ -313,7 +313,7 @@ def recurring__payment_provider(self, obj): def recurring__pricing(self, obj): return obj.recurring.pricing - recurring__automatic_renewal.admin_order_field = "recurring__pricing" + recurring__pricing.admin_order_field = "recurring__pricing" admin.site.register(Quota, QuotaAdmin)