Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Gepetto
dashboard
Commits
60e3bcea
Commit
60e3bcea
authored
Jul 03, 2018
by
Guilhem Saurel
Browse files
ContributorAdmin: distinct
parent
9809c6e5
Pipeline
#895
passed with stages
in 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/admin.py
View file @
60e3bcea
...
...
@@ -5,7 +5,7 @@ from . import models
class
ContributorAdmin
(
ModelAdmin
):
def
get_queryset
(
self
,
request
):
return
super
().
get_queryset
(
request
).
gepettist
()
return
super
().
get_queryset
(
request
).
gepettist
()
.
distinct
()
site
.
register
(
models
.
Contributor
,
ContributorAdmin
)
...
...
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