Commit 687dc88b authored by Okhin's avatar Okhin
Browse files

Adding filters to Feedback Category

parent c4bbf2af
Pipeline #1163 passed with stage
in 47 seconds
......@@ -61,6 +61,9 @@ class GroupAdmin(admin.ModelAdmin):
class CategoryAdmin(admin.ModelAdmin):
list_display = ('name', 'organization',)
list_filter = ('organization',)
def get_queryset(self, request):
qs = super(CategoryAdmin, self).get_queryset(request)
if request.user.is_superuser:
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