Browse Source

Do not show the comments field in OfferSubscritionInline from the Member admin view

Related to issue#105.
Grégoire Jadi 7 years ago
parent
commit
bbce7d255d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      coin/members/admin.py

+ 1 - 0
coin/members/admin.py

@@ -35,6 +35,7 @@ class MembershipFeeInline(admin.TabularInline):
 class OfferSubscriptionInline(admin.TabularInline):
     model = OfferSubscription
     extra = 0
+    exclude = ('comments',)
     readonly_fields = ('get_subscription_reference', 'subscription_date', 'resign_date',
                        'commitment', 'offer', 'show_change_link')