[Answered ]-'NoneType' object has no attribute 'model'

2👍

I’m sorry to have bothered you… I just found the problem… The custom field is made with an empty queryset, since the queryset can only be determined when the view is evaluated. I had forgotten to edit the queryset, when an instance of the form is created from the FORM data. Now it works as intended

Leave a comment