old_contents: from django.contrib import admin
  
  from .models import Release
  
  
  class ReleaseAdmin(admin.ModelAdmin):
      list_display = ('version', 'date', 'major', 'minor', 'micro', 'show_status', 'iteration')
      ordering = ('-major', '-minor', '-micro', '-status', '-iteration')
  
      def show_status(self, obj):
          return obj.get_status_display()
      show_status.admin_order_field = 'status'
      show_status.short_description = 'status'
  
  
  admin.site.register(Release, ReleaseAdmin)
  
new_contents: from django.contrib import admin
  
  from .models import Release
  
  
  class ReleaseAdmin(admin.ModelAdmin):
      list_display = ('version', 'date', 'major', 'minor', 'micro', 'show_status', 'iteration', 'is_lts')
      list_filter = ('status', 'is_lts')
      ordering = ('-major', '-minor', '-micro', '-status', '-iteration')
  
      def show_status(self, obj):
          return obj.get_status_display()
      show_status.admin_order_field = 'status'
      show_status.short_description = 'status'
  
  
  admin.site.register(Release, ReleaseAdmin)
  
subject: Improve releases admin a bit.