Multiple models display form
You have an update form with many fields and want to populate it with data coming from multiple models.
- form
You have an update form with many fields and want to populate it with data coming from multiple models.
By popular demand an example of search in models that spans more realtions. Keep a list of Q, filter the None away, feed the rest to .filter() Credit goes to Carlo C8E Miron for the idea... cheers buddy! ;)
lbolognini has posted 2 snippets.