This commit is contained in:
Cja committed 2025-02-03 11:22:58 +03:00
1 parent 5de4c33d1b
commit ced951eebd
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@ class CarouselsAPIView(ListAPIView):
result = CarouselsSerializer(queryset, many= True).data
manbrd = DictEmployee.objects.filter(birthdate__month=date.today().month, birthdate__day__gte=date.today().day).order_by('birthdate__day')
manbrd = DictEmployee.objects.filter(birthdate__month=date.today().month, birthdate__day__gte=date.today().day, deleted=0).order_by('birthdate__day')
dr_img = BaseSender.objects.update_or_create(name="День рождения", defaults={'name':"День рождения"})
mess = ''
if len(manbrd) > 0 :