Commit ce770a84 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

flake8

parent 12e4fa68
Pipeline #893 passed with stages
in 44 seconds
......@@ -2,6 +2,13 @@ from django.contrib.admin import ModelAdmin, site
from . import models
class ContributorAdmin(ModelAdmin):
def queryset(self, request):
return super().queryset(request).gepettist()
site.register(models.Contributor, ContributorAdmin)
for model in [
models.License,
models.Namespace,
......@@ -16,9 +23,3 @@ for model in [
models.ContributorMail,
]:
site.register(model)
class ContributorAdmin(ModelAdmin):
def queryset(self, request):
return super().queryset(request).gepettist()
site.register(models.Contributor, ContributorAdmin)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment