Revision 4976c5c2
Added by Serghei Mihai about 12 years ago
| calebasse/personnes/views.py | ||
|---|---|---|
|
|
||
|
def get_queryset(self, *args, **kwargs):
|
||
|
qs = super(GroupHolidaysList, self).get_queryset(*args, **kwargs)
|
||
|
qs = qs.filter(worker__isnull=True)
|
||
|
return qs
|
||
|
|
||
|
group_holidays = GroupHolidaysList.as_view()
|
||
Also available in: Unified diff
personnes: fix on group holidays filtering
Closes #4141