Gitlab CSE Unil

Commit 095aa805 authored by Julien Furrer's avatar Julien Furrer
Browse files

Added list_filter to AnObj admin

parent 471bf635
# coding=utf-8
from __future__ import unicode_literals
from django.contrib import admin
from eav.admin import BaseEntityAdmin
from adim.models import AnObj, Annotation # AOSchema, AOType, AOAttribute, AOChoice
class AnObjAdmin(BaseEntityAdmin):
# form = AnObjForm
class AnObjAdmin(admin.ModelAdmin):
list_filter = ('owner',), AnObjAdmin)
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