8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

Merge branch 'api_multi_op' into aurore_test

This commit is contained in:
histausse 2020-09-02 19:27:54 +02:00
commit 8d22568ecc

View file

@ -34,6 +34,6 @@ class PendingConnectionViewSet(viewsets.ReadOnlyModelViewSet):
topologie.Room.objects.select_related("building__dormitory")
.filter(port__isnull=True)
.filter(adherent__in=all_has_access())
.order_by("building_dormitory", "port")
.order_by("building__dormitory", "port")
)
serializer_class = serializers.RoomSerializer