Add lensman_type for GroupPhotoInfoAdmin's list_display

Brightcells 7 anos atrás
pai
commit
8966196b06
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      group/admin.py

+ 1 - 1
group/admin.py

@@ -18,7 +18,7 @@ class GroupUserInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin):
18 18
 
19 19
 
20 20
 class GroupPhotoInfoAdmin(ReadOnlyModelAdmin, admin.ModelAdmin):
21
-    list_display = ('photo_id', 'group_id', 'user_id', 'nickname', 'photo_path', 'has_watermark', 'photo_thumbnail_path', 'photo_thumbnail2_path', 'status', 'created_at', 'updated_at')
21
+    list_display = ('photo_id', 'group_id', 'user_id', 'nickname', 'photo_path', 'has_watermark', 'photo_from', 'lensman_type', 'photo_thumbnail_path', 'photo_thumbnail2_path', 'status', 'created_at', 'updated_at')
22 22
     list_filter = ('has_watermark', 'photo_from', 'lensman_type', 'status')
23 23
 
24 24