From e21801f44edad38c7fa529baaf759276ee07bcb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Fri, 14 Dec 2018 11:12:13 +0200 Subject: [PATCH] Admin tweaks. --- hc/payments/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hc/payments/admin.py b/hc/payments/admin.py index 56ec53fb..e78fe669 100644 --- a/hc/payments/admin.py +++ b/hc/payments/admin.py @@ -16,6 +16,7 @@ class SubsAdmin(admin.ModelAdmin): "profile") list_filter = ("plan_id", ) + raw_id_fields = ("user", ) actions = ("cancel", ) def email(self, obj):