Fairly easy one to recreate:
The detail view is not impacted - it's just the list view with the following exception:
ImportError at /admin/django_tasks_database/dbtaskresult/
Module "taskrunner.tasks" does not define a "demo_fail" attribute/class
I'm assuming that it's perfectly fine/safe to keep results for tasks that no longer exist.
Will follow up with a PR shortly.