def get_form(self, data=None, files=None, **kwargs):
        """
        Given `data` and `files` QueryDicts, and optionally other named
        arguments, and returns a form.
        """
        cls = self.get_form_class()
        return cls(data=data, files=files, **kwargs)

        Given `data` and `files` QueryDicts, and optionally other named
        arguments, and returns a form.
        
vanilla/views.py