Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter on object_sets #5117 #23

Open
evrenesat opened this issue Nov 20, 2015 · 0 comments
Open

filter on object_sets #5117 #23

evrenesat opened this issue Nov 20, 2015 · 0 comments
Assignees
Milestone

Comments

@evrenesat
Copy link
Contributor

evrenesat commented Nov 20, 2015

ListNodes with linked models (Many side of One-to-Many and Many-to-Many rels) should have a QuerySet object assigned to objects attribute which can be used like any other queryset.

ogrenci_borclari = ogrenci.borc_set.objects.filter(odeme_tarihi=None)
borclar = []
for b in current.role.ogrenci.borc_set.objects.filter()
    if not b.odeme_tarihi:
        borclar.append(b)
@evrenesat evrenesat self-assigned this Nov 20, 2015
@evrenesat evrenesat added this to the 0.8 milestone Jan 6, 2016
@evrenesat evrenesat changed the title filter on object_sets filter on object_sets #5117 Feb 11, 2016
evrenesat added a commit that referenced this issue Jun 24, 2016
evrenesat added a commit that referenced this issue Jun 25, 2016
rref  #5117
ref #23
alirizakeles pushed a commit that referenced this issue Sep 9, 2016
alirizakeles pushed a commit that referenced this issue Sep 9, 2016
rref  #5117
ref #23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant