Commit 04e475dd by Scott Duckworth

make fingerprint readonly in admin view

parent 1f6deb03
...@@ -5,5 +5,8 @@ class UserKeyAdmin(admin.ModelAdmin): ...@@ -5,5 +5,8 @@ class UserKeyAdmin(admin.ModelAdmin):
search_fields = [ search_fields = [
'user__username', 'user__username',
] ]
readonly_fields = [
'fingerprint',
]
admin.site.register(UserKey, UserKeyAdmin) admin.site.register(UserKey, UserKeyAdmin)
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