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)