Open piranna opened 8 months ago
Could you also add a unit test?
Could you also add a unit test?
Where could I add them? polymorphic/tests
folder?
@piranna - That's a good place!
Sorry for keep this open so much time, I have been focused on other parts of our project, but I think we are ready to get this PR merged. What else is needed to do?
Fixed concerns and linting, only missing one are tests, but I don't see how to run them. Anyway, we have already this PR running on production on our systems.
Allow by default to inspect for Model and Inline subclasses to populate the admin forms. Also raise a proper exception in case there are no child models defined.
Fixes #576.