Commit 406d5a91 by Kevin Falcone

Add details to the admin listing of LTI Consumers

This mimics the data displayed in our oauth2 client listing and allows
you to search on identifying fields.
parent ec49576e
......@@ -6,4 +6,10 @@ from django.contrib import admin
from .models import LtiConsumer
admin.site.register(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)
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