def get_form_kwargs(self, **kwargs):
        ''' Pass along the request data to the form '''
        kwargs = super(PrivateLessonStudentInfoView, self).get_form_kwargs(**kwargs)
        kwargs['request'] = self.request
        kwargs['payAtDoor'] = self.payAtDoor
        return kwargs
def get_form_kwargs ( self , ** kwargs ) : kwargs = super ( PrivateLessonStudentInfoView , self ) . get_form_kwargs ( ** kwargs ) kwargs [ 'request' ] = self . request kwargs [ 'payAtDoor' ] = self . payAtDoor return kwargs
Pass along the request data to the form