Commit 76fbd52e authored by jocelyn's avatar jocelyn
Browse files

Displays the member email in list detail view (admin)

parent b86fa40e
......@@ -44,9 +44,14 @@ class MaillingListSubscriptionInline(admin.TabularInline):
class SubscribersInline(MaillingListSubscriptionInline):
fields = ('member', 'email', 'maillinglist',)
readonly_fields = ('member', 'email', 'maillinglist',)
verbose_name_plural = "Abonné·e·s"
verbose_name = "abonné·e"
def email(self, instance):
class MaillingListAdmin(admin.ModelAdmin):
list_display = ('email', 'verbose_name')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment