Commit ef325998 authored by Luuk Scholten's avatar Luuk Scholten
Browse files

Merge branch '189-mailinglist-member-selection' into 'master'

Add better member selection to mailinglists admin

Closes #189

See merge request !200
parents 189b6235 19bbf8e0
from django.contrib import admin from django.contrib import admin
from members.models import Member
from .models import ListAlias, MailingList, VerbatimAddress from .models import ListAlias, MailingList, VerbatimAddress
...@@ -13,4 +14,6 @@ class ListAliasInline(admin.TabularInline): ...@@ -13,4 +14,6 @@ class ListAliasInline(admin.TabularInline):
@admin.register(MailingList) @admin.register(MailingList)
class GeneralMeetingAdmin(admin.ModelAdmin): class GeneralMeetingAdmin(admin.ModelAdmin):
model = Member
filter_horizontal = ('members',)
inlines = (VerbatimAddressInline, ListAliasInline) inlines = (VerbatimAddressInline, ListAliasInline)
Markdown is supported
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