Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
MOOC packages by hacklab
django-courses
Commits
d6fcc5a5
Commit
d6fcc5a5
authored
Aug 18, 2020
by
Bruno Martin
Browse files
add filter horizontal to users in ProfessorMessage
parent
e8260f65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
courses/admin.py
courses/admin.py
+3
-1
No files found.
courses/admin.py
View file @
d6fcc5a5
...
...
@@ -122,7 +122,9 @@ class WorkspaceAdmin(admin.ModelAdmin):
@
admin
.
register
(
ProfessorMessage
)
class
ProfessorMessageAdmin
(
admin
.
ModelAdmin
):
pass
filter_horizontal
=
(
'users'
,
)
@
admin
.
register
(
CourseAuthor
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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