Skip to content

Commit

Permalink
fix admin_order_field for recurring__pricing
Browse files Browse the repository at this point in the history
  • Loading branch information
radekholy24 committed Apr 5, 2024
1 parent 4742b76 commit 50ae042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plans/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 50ae042

Please sign in to comment.