chrisspen/django-chroniker

HTMLWidget brakes log's change_form

mordechaiyosef opened this issue · 1 comments

DoesNotExist at /chroniker/log/73750/change/
Log matching query does not exist.

log seems to exist in change_list and can be accessed through
/chroniker/log/73750/stdout/

maybe this is due to absolute urls. i am running admin site at "/" instead of "/admin/

looking closer at the issue i identified the problem with the htmlwidget class

by replacing
obj = related_model._default_manager.get(**{key: value})
with

try:
    obj = related_model._default_manager.get(**{key: value})
except:
    obj = "404"

i can view the page however it does not fix the underlying issue