Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
19bbf8e0
Commit
19bbf8e0
authored
Dec 05, 2016
by
Wietse Kuipers
Browse files
Add better member selection to mailinglists admin
parent
189b6235
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/mailinglists/admin.py
View file @
19bbf8e0
from
django.contrib
import
admin
from
members.models
import
Member
from
.models
import
ListAlias
,
MailingList
,
VerbatimAddress
...
...
@@ -13,4 +14,6 @@ class ListAliasInline(admin.TabularInline):
@
admin
.
register
(
MailingList
)
class
GeneralMeetingAdmin
(
admin
.
ModelAdmin
):
model
=
Member
filter_horizontal
=
(
'members'
,)
inlines
=
(
VerbatimAddressInline
,
ListAliasInline
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment