old_contents: from django.contrib import admin
  
  from myhpom.models.state import State
  from myhpom.models.state_requirement import StateRequirement
  from myhpom.models.state_requirement_link import StateRequirementLink
  from scribbler.models import Scribble
  
  
  class StateRequirementLinkAdmin(admin.TabularInline):
      model = StateRequirementLink
  
  
  class StateRequirementAdmin(admin.ModelAdmin):
      model = StateRequirement
      inlines = [StateRequirementLinkAdmin]
  
  
  class StateRequirementInlineAdmin(admin.TabularInline):
      model = StateRequirement
      fields = ('text', 'admin_link')
      readonly_fields = ('admin_link',)
  
  
  class StateAdmin(admin.ModelAdmin):
      model = State
      inlines = [StateRequirementInlineAdmin]
  
  
  class ScribbleAdmin(admin.ModelAdmin):
      model = Scribble
  
  
  admin.site.register(State, StateAdmin)
  admin.site.register(StateRequirement, StateRequirementAdmin)
  admin.site.register(Scribble, ScribbleAdmin)
  
new_contents: from django.contrib import admin
  
  from myhpom.models.state import State
  from myhpom.models.state_requirement import StateRequirement
  from myhpom.models.state_requirement_link import StateRequirementLink
  from scribbler.models import Scribble
  
  
  class StateRequirementLinkAdmin(admin.TabularInline):
      model = StateRequirementLink
  
  
  class StateRequirementAdmin(admin.ModelAdmin):
      model = StateRequirement
      inlines = [StateRequirementLinkAdmin]
  
  
  class StateRequirementInlineAdmin(admin.TabularInline):
      model = StateRequirement
      fields = ('text', 'admin_link')
      readonly_fields = ('admin_link',)
  
  
  class StateAdmin(admin.ModelAdmin):
      model = State
      inlines = [StateRequirementInlineAdmin]
  
  
  class ScribbleAdmin(admin.ModelAdmin):
      model = Scribble
      readonly_fields = ['slug', 'url']
      list_display = ['slug', 'name', 'url']
  
  
  admin.site.register(State, StateAdmin)
  admin.site.register(StateRequirement, StateRequirementAdmin)
  admin.site.register(Scribble, ScribbleAdmin)
  
subject: make scribble 'slug' and 'url' read only in admin, and show the slug, name, and url in the list display