Posts by azk4n • 26 points
1 post
-
1
votes2
answers147
viewsA: Filter with first item of a Manytomany Django
see: https://docs.djangoproject.com/el/1.10/ref/models/querysets/#first you can try something like: jobs = jobs.filter(background__active=False).first()…