diff --git a/dasettings/views.py b/dasettings/views.py index 2af2988..e980a25 100644 --- a/dasettings/views.py +++ b/dasettings/views.py @@ -987,7 +987,7 @@ def SettingsAjaxRouter(request): # EVERY ELEMENT GET ID AND SAVE NEW DAY-INFO user_to_recalculate = User.objects.get(pk=request.GET["userid"]) # DELETE ALL USED DAYS - absences = Absence.objects.filter(user=user_to_recalculate, reason__is_holiday=True) + absences = Absence.objects.filter(user=user_to_recalculate) post_save.disconnect(save_newabsence, sender=Absence) for ab in absences: