Tuesday, March 30, 2021

Re: Chaining filter is not working

Also you need to assign a related name to the foreign key for that filter to work. 

Best regards

Stephen Oba

On Tue, Mar 30, 2021, 1:58 PM Saurabh Ahire <ahiresaurabh009@gmail.com> wrote:
Please check the model class also , if there are any mistakes point them out

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAARnLzxHO5QpX3U-4qrH%2BJC_kne8cOuSmcPT7NZTxJUXxM4eFQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAJsLnrGS75szU%3D9WDM0eOmZOD424Ne5GKFucNoy26wfaym2Jg%40mail.gmail.com.

No comments:

Post a Comment