#NEWLINE# @ django_dispatch . receiver ( django_signals . post_save , sender = availability_models . AvailabilitySlot ) #NEWLINE# def availability_slot_added( sender , instance , created , raw , **kwargs ) : #NEWLINE# #INDENT# '\n    Callback for updating the OperationalSlots table when an AvailabilitySlot\n    has just been created.\n\n    :param sender The object that sent the signal\n    :param instance The instance of the object itself\n    :param created: Flag that indicates that this object has just been created\n    :param raw: Flag that indicates that the object is not stable within the db\n    :param kwargs: Additional parameters\n    ' #NEWLINE# if ( ( not created ) or raw ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# operational_models . OperationalSlot . objects . availability_generates_slots ( instance )