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 authored and PetrDlouhy committed Apr 12, 2024
1 parent 8c83e59 commit 95e89b8
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 95e89b8

Please sign in to comment.