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
12e4fa68
Commit
12e4fa68
authored
Jul 03, 2018
by
Guilhem Saurel
Browse files
register ContributorAdmin
parent
8fd2d367
Pipeline
#892
failed with stages
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rainboard/admin.py
View file @
12e4fa68
...
...
@@ -20,3 +20,5 @@ for model in [
class
ContributorAdmin
(
ModelAdmin
):
def
queryset
(
self
,
request
):
return
super
().
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