old_contents: from django.contrib import admin
  from chatterbot.ext.django_chatterbot.models import Statement, Response, Conversation
  
  
  class StatementAdmin(admin.ModelAdmin):
      list_display = ('text', )
      list_filter = ('text', )
      search_fields = ('text', )
  
  
  class ResponseAdmin(admin.ModelAdmin):
      list_display = ('statement', 'occurrence', )
  
  
  class ConversationAdmin(admin.ModelAdmin):
      pass
  
  
  admin.site.register(Statement, StatementAdmin)
  admin.site.register(Response, ResponseAdmin)
  admin.site.register(Conversation, ConversationAdmin)
  
new_contents: from django.contrib import admin
  from chatterbot.ext.django_chatterbot.models import Statement, Response, Conversation
  
  
  class StatementAdmin(admin.ModelAdmin):
      list_display = ('text', )
      list_filter = ('text', )
      search_fields = ('text', )
  
  
  class ResponseAdmin(admin.ModelAdmin):
      list_display = ('statement', 'response', 'occurrence', )
      search_fields = ['statement__text', 'response__text']
  
  
  class ConversationAdmin(admin.ModelAdmin):
      pass
  
  
  admin.site.register(Statement, StatementAdmin)
  admin.site.register(Response, ResponseAdmin)
  admin.site.register(Conversation, ConversationAdmin)
  
subject: Add search to response Django admin