old_contents: # -*- coding: utf-8 -*-
  from django.contrib import admin
  from modeltranslation.admin import TranslationAdmin
  
  from .models import Registration, Option
  
  
  class OptionAdmin(admin.ModelAdmin):
      list_display = ('name', 'is_active', 'price')
      list_editable = ('is_active',)
      ordering = ('id',)
  admin.site.register(Option, OptionAdmin)
  
  
  class RegistrationAdmin(admin.ModelAdmin):
      list_display = ('user', 'option', 'name', 'email', 'payment_method', 'payment_status')
      list_editable = ('payment_status',)
      list_filter = ('option', 'payment_method', 'payment_status')
      ordering = ('id',)
  admin.site.register(Registration, RegistrationAdmin)
  
new_contents: # -*- coding: utf-8 -*-
  from django.contrib import admin
  from modeltranslation.admin import TranslationAdmin
  
  from .models import Registration, Option
  
  
  class OptionAdmin(admin.ModelAdmin):
      list_display = ('name', 'is_active', 'price')
      list_editable = ('is_active',)
      ordering = ('id',)
  admin.site.register(Option, OptionAdmin)
  
  
  class RegistrationAdmin(admin.ModelAdmin):
      list_display = ('user', 'option', 'name', 'email', 'payment_method', 'payment_status')
      list_editable = ('payment_status',)
      list_filter = ('option', 'payment_method', 'payment_status')
      search_fields= ('name')
      ordering = ('id',)
  admin.site.register(Registration, RegistrationAdmin)
  
subject: add search_fields in registration admin