@receiver(post_registration)<EOL>def finalizePrivateLessonRegistration(sender,**kwargs):
finalReg = kwargs.pop('<STR_LIT>')<EOL>for er in finalReg.eventregistration_set.filter(<EOL>event__privatelessonevent__isnull=False<EOL>):<EOL><INDENT>er.event.finalizeBooking(eventRegistration=er,notifyStudent=False)<EOL><DEDENT>
Once a private lesson registration is finalized, mark the slots that were
used to book the private lesson as booked and associate them with the final
registration.  No need to notify students in this instance because they are
already receiving a notification of their registration.