Skip to content

Commit 16cc0d8

Browse files
committed
pk instead of id in admin
1 parent d31fd66 commit 16cc0d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎oauth2_provider/admin.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
classApplicationAdmin(admin.ModelAdmin):
22-
list_display= ("id", "name", "user", "client_type", "authorization_grant_type")
22+
list_display= ("pk", "name", "user", "client_type", "authorization_grant_type")
2323
list_filter= ("client_type", "authorization_grant_type", "skip_authorization")
2424
radio_fields={
2525
"client_type": admin.HORIZONTAL,

0 commit comments

Comments
(0)