old_contents: from django.contrib import admin
  
  from .models import Provider, AccountAccess
  
  
  class ProviderAdmin(admin.ModelAdmin):
  
      "Admin customization for OAuth providers."
  
      list_display = ('name', 'enabled', 'site',)
      list_filter = ('name', 'enabled', 'site', )
  
  
  class AccountAccessAdmin(admin.ModelAdmin):
  
      "Admin customization for accounts."
  
      list_display = (
          '__str__', 'provider', 'user', 'created', 'modified',)
      list_filter = ('provider', 'created', 'modified', )
  
  
  admin.site.register(Provider, ProviderAdmin)
  admin.site.register(AccountAccess, AccountAccessAdmin)
  
new_contents: from django.contrib import admin
  
  from .models import Provider, AccountAccess
  
  
  class ProviderAdmin(admin.ModelAdmin):
  
      "Admin customization for OAuth providers."
  
      list_display = ('name', 'enabled', 'site',)
      list_filter = ('name', 'site', )
  
  
  class AccountAccessAdmin(admin.ModelAdmin):
  
      "Admin customization for accounts."
  
      list_display = (
          '__str__', 'provider', 'user', 'created', 'modified',)
      list_filter = ('provider', 'created', 'modified', )
  
  
  admin.site.register(Provider, ProviderAdmin)
  admin.site.register(AccountAccess, AccountAccessAdmin)
  
subject: remove enabled from Provider admin