registrasion/reporting/reports.py
def get_form(self, request):

        ''' Creates an instance of self.form_type using request.GET '''

        # Create a form instance
        if self.form_type is not None:
            form = self.form_type(request.GET)

            # Pre-validate it
            form.is_valid()
        else:
            form = None

        return form
def get_form(self, request):

        ''' Creates an instance of self.form_type using request.GET '''

        # Create a form instance
        if self.form_type is not None:
            form = self.form_type(request.GET)

            # Pre-validate it
            form.is_valid()
        else:
            form = None

        return form
def get_form ( self , request ) : # Create a form instance if self . form_type is not None : form = self . form_type ( request . GET ) # Pre-validate it form . is_valid ( ) else : form = None return form
Creates an instance of self.form_type using request.GET
Creates an instance of self . form_type using request . GET