|
@@ -156,7 +156,7 @@ class MemberAdmin(UserAdmin):
|
|
|
class MembershipFeeAdmin(admin.ModelAdmin):
|
|
|
list_display = ('member', 'end_date', 'amount', 'payment_method',
|
|
|
'payment_date')
|
|
|
- form = autocomplete_light.modelform_factory(MembershipFee)
|
|
|
+ form = autocomplete_light.modelform_factory(MembershipFee, fields='__all__')
|
|
|
|
|
|
admin.site.register(Member, MemberAdmin)
|
|
|
admin.site.register(MembershipFee, MembershipFeeAdmin)
|