from django.conf import settings
from django.contrib import admin
from .models import Dashboard, Thing
from genericadmin.admin import GenericAdminModelAdmin, GenericTabularInline, TabularInlineWithGeneric

class ThingInline(TabularInlineWithGeneric):
    model = Thing
    extra = 0
    fields = ['content_type','object_id','order',]
    ordering = ['order',]

    

class DashboardAdmin(GenericAdminModelAdmin):
    model = Dashboard
    inlines = [ThingInline,]

    if hasattr(settings, 'FEATURABLE_CONTENT_TYPES'):
        content_type_whitelist = settings.FEATURABLE_CONTENT_TYPES

admin.site.register(Dashboard, DashboardAdmin)

from django.conf import settings
from django.contrib import admin
from .models import Dashboard, Thing

class ThingInline(admin.TabularInline):
    model = Thing
    extra = 0
    fields = ['content_type','object_id','order',]
    ordering = ['order',]


class DashboardAdmin(admin.ModelAdmin):
    model = Dashboard
    inlines = [ThingInline,]

    if hasattr(settings, 'FEATURABLE_CONTENT_TYPES'):
        content_type_whitelist = settings.FEATURABLE_CONTENT_TYPES

admin.site.register(Dashboard, DashboardAdmin)

Remove genericadmin, which doesn't work anymore. As a result, this project sucks. Hmm...