old_contents: from django.contrib import admin
  from django.db import models
  from longform.models import Article
  
  
  class ArticleAdmin(admin.ModelAdmin):
      list_display = ("title", "published_status",
                      "date_modified", "date_published",)
      list_filter = ("published_status", "date_published",
                     "date_modified", "author",)
      ordering = ("-date_published", "published_status",)
      prepopulated_fields = {"slug": ("title",)}
      search_fields = ("title", "content",)
  
  admin.site.register(Article, ArticleAdmin)
  
new_contents: from django.contrib import admin
  from longform.models import Article
  
  
  class ArticleAdmin(admin.ModelAdmin):
      list_display = ("title", "published_status",
                      "date_modified", "date_published",)
      list_filter = ("published_status", "date_published",
                     "date_modified", "author",)
      ordering = ("-date_published", "published_status",)
      prepopulated_fields = {"slug": ("title",)}
      search_fields = ("title", "content",)
  
  admin.site.register(Article, ArticleAdmin)
  
subject: Remove unused import.