old_contents: from django.contrib import admin
  from ajax_select import make_ajax_form
  from ajax_select.admin import AjaxSelectAdmin
  from storybase_asset.models import Asset
  from models import Story
  
  #class StoryAssetInline(admin.TabularInline):
  #    model = StoryAsset
  #    form = make_ajax_form(StoryAsset, {'asset': 'asset'})
  
  class StoryAdmin(AjaxSelectAdmin):
      prepopulated_fields = {"slug": ("title",)}
      search_fields = ['title', 'author__first_name', 'author__last_name']
      list_filter = ('status', 'author', 'tags__name')
      filter_horizontal = ['assets']
      #form = make_ajax_form(Story, {'assets': 'asset'})
  
      def formfield_for_manytomany(self, db_field, request, **kwargs):
          if db_field.name == "assets":
              kwargs["queryset"] = Asset.objects.filter(owner=request.user)
          return super(StoryAdmin, self).formfield_for_manytomany(db_field, request, **kwargs)
  
  admin.site.register(Story, StoryAdmin)
  
new_contents: from django.contrib import admin
  from ajax_select import make_ajax_form
  from ajax_select.admin import AjaxSelectAdmin
  from storybase_asset.models import Asset
  from models import Story
  
  #class StoryAssetInline(admin.TabularInline):
  #    model = StoryAsset
  #    form = make_ajax_form(StoryAsset, {'asset': 'asset'})
  
  class StoryAdmin(admin.ModelAdmin):
      prepopulated_fields = {"slug": ("title",)}
      search_fields = ['title', 'author__first_name', 'author__last_name']
      list_filter = ('status', 'author', 'tags__name')
      filter_horizontal = ['assets']
      #form = make_ajax_form(Story, {'assets': 'asset'})
  
      def formfield_for_manytomany(self, db_field, request, **kwargs):
          if db_field.name == "assets":
              kwargs["queryset"] = Asset.objects.filter(owner=request.user)
          return super(StoryAdmin, self).formfield_for_manytomany(db_field, request, **kwargs)
  
  admin.site.register(Story, StoryAdmin)
  
subject: Switch StoryAdmin to inherit from admin.ModelAdmin since we no longer use the inline that required the autocomplete.