PolymorphicAdmin incompatible with CookedIDAdmin?

Issue #2 new
Greg Turner created an issue

I have a "Contact" model with a "Person" subclass, which has a FK to "Company" that I want as a cooked ID.

"ContactAdmin" is a subclass of PolymorphicAdmin and CookedIdAdmin. PersonAdmin is a subclass of CookedIdAdmin too (which works well).

The javascript in the Contact admin edit view tries to fetch data from the URL http://localhost:8000/admin/crm/contact/cook-ids/company/2/ which 404s. It should be http://localhost:8000/admin/crm/person/cook-ids/company/2/ (or the URL should work).

Comments (0)

  1. Log in to comment