"""
Admin interface for LTI Provider app.
"""

from django.contrib import admin

from .models import LtiConsumer

admin.site.register(LtiConsumer)

"""
Admin interface for LTI Provider app.
"""

from django.contrib import admin

from .models import LtiConsumer


class LtiConsumerAdmin(admin.ModelAdmin):
    """Admin for LTI Consumer"""
    search_fields = ('consumer_name', 'consumer_key', 'instance_guid')
    list_display = ('id', 'consumer_name', 'consumer_key', 'instance_guid')

admin.site.register(LtiConsumer, LtiConsumerAdmin)

Add details to the admin listing of LTI Consumers