Commit 60e3bcea authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

ContributorAdmin: distinct

parent 9809c6e5
Pipeline #895 passed with stages
in 45 seconds
......@@ -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)
Supports Markdown
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