Commit b5de4d77 authored by okhin's avatar okhin 🚴

Merge branch '12-conceptions-des-interfaces' into 'master'

Resolve "Conceptions des interfaces"

Closes #12

See merge request !9
parents c4bbf2af 687dc88b
Pipeline #1164 passed with stages
in 1 minute and 50 seconds
...@@ -61,6 +61,9 @@ class GroupAdmin(admin.ModelAdmin): ...@@ -61,6 +61,9 @@ class GroupAdmin(admin.ModelAdmin):
class CategoryAdmin(admin.ModelAdmin): class CategoryAdmin(admin.ModelAdmin):
list_display = ('name', 'organization',)
list_filter = ('organization',)
def get_queryset(self, request): def get_queryset(self, request):
qs = super(CategoryAdmin, self).get_queryset(request) qs = super(CategoryAdmin, self).get_queryset(request)
if request.user.is_superuser: if request.user.is_superuser:
......
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