You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
399 B
Python
16 lines
399 B
Python
|
|
# Copyright (C) 2018 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
from django.contrib import admin
|
|
from .models import AnnotationModel
|
|
|
|
@admin.register(AnnotationModel)
|
|
class AnnotationModelAdmin(admin.ModelAdmin):
|
|
list_display = ('name', 'owner', 'created_date', 'updated_date',
|
|
'shared', 'primary', 'framework')
|
|
|
|
def has_add_permission(self, request):
|
|
return False
|