old_contents: from django.contrib import admin
  
  from keyed_urls.models import KeyedURL
  
  
  class KeyedURLAdmin(admin.ModelAdmin):
      search_fields = ('key', 'url')
  
  
  admin.site.register(KeyedURL, KeyedURLAdmin)
  
new_contents: from django.contrib import admin
  
  from keyed_urls.models import KeyedURL
  
  
  class KeyedURLAdmin(admin.ModelAdmin):
      ordering = ('key',)
      search_fields = ('key', 'url')
  
  
  admin.site.register(KeyedURL, KeyedURLAdmin)
  
subject: Order keyed URLs in the administration interface