Skip to content

filter on object_sets #5117 #23

Description

@evrenesat

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)

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions