Closed asnoeyink closed 6 years ago
For some reason, we were getting the MRO error on any page that contained a Django form. I'm not exactly sure why it was happening in these cases. Potentially we configured something wrong somewhere along the line. However, there is one case where we are intentionally rendering a form twice (two search boxes that are searching the same queryset), and that is what the test came out of.
Ups, oversaw the pending merge request. Thanks for reminding.
If this test is run without applying the fix to
angular_base
, it will cause aCannot create a consistent method resolution order (MRO)
error. This is because theNgWidgetMixin
is added to the DummyForm()'s widgets more than once. In order to fix this, I added a check to make sureNgWidgetMixin
is not already in the widget's bases before adding it.