Beispiel #1
0
 def make_list_submissions(self):
     """
     This makes 100 submissions to test pagination on the forms submissions page
     """
     for i in range(100):
         submission = FormSubmission(page=self.form_page, form_data=json.dumps({"hello": "world"}))
         submission.save()
Beispiel #2
0
 def make_list_submissions(self):
     """
     This makes 100 submissions to test pagination on the forms submissions page
     """
     for i in range(100):
         submission = FormSubmission(page=self.form_page,
                                     form_data=json.dumps(
                                         {'hello': 'world'}))
         submission.save()