text: from django.contrib import admin
  
  from ggongsul.review.models import Review, ReviewImage
  
  
  class ReviewImageInline(admin.TabularInline):
      model = ReviewImage
      extra = 0
  
  
  @admin.register(Review)
  class ReviewAdmin(admin.ModelAdmin):
      inlines = [ReviewImageInline]
      search_fields = ("partner__name", )
      raw_id_fields = ("member", "partner", )
      list_display = [
          'id',
          'type',
          'partner',
          'member',
          'body'
      ]
  
  