P-144
This commit is contained in:
1 parent
5de4c33d1b
commit
ced951eebd
1 file changed
+1
-1
@@ -165,7 +165,7 @@ class CarouselsAPIView(ListAPIView):
|
|||||||
|
|
||||||
result = CarouselsSerializer(queryset, many= True).data
|
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':"День рождения"})
|
dr_img = BaseSender.objects.update_or_create(name="День рождения", defaults={'name':"День рождения"})
|
||||||
mess = ''
|
mess = ''
|
||||||
if len(manbrd) > 0 :
|
if len(manbrd) > 0 :
|
||||||
|
|||||||
Reference in new issue
Block a user