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
9809c6e5
Commit
9809c6e5
authored
Jul 03, 2018
by
Guilhem Saurel
Browse files
fix ContributorAdmin
parent
ce770a84
Pipeline
#894
passed with stages
in 48 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/admin.py
View file @
9809c6e5
...
...
@@ -4,8 +4,8 @@ from . import models
class
ContributorAdmin
(
ModelAdmin
):
def
queryset
(
self
,
request
):
return
super
().
queryset
(
request
).
gepettist
()
def
get_
queryset
(
self
,
request
):
return
super
().
get_
queryset
(
request
).
gepettist
()
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