Commit a7871041 by Scott Duckworth

display user, name, and fingerprint in admin

parent 622b88b4
...@@ -2,6 +2,12 @@ from django.contrib import admin ...@@ -2,6 +2,12 @@ from django.contrib import admin
from sshkey.models import UserKey from sshkey.models import UserKey
class UserKeyAdmin(admin.ModelAdmin): class UserKeyAdmin(admin.ModelAdmin):
list_display = [
'__unicode__',
'user',
'name',
'fingerprint',
]
search_fields = [ search_fields = [
'user__username', 'user__username',
] ]
......
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 sign in to comment