Return the number of forms that are required in this FormSet.
(self)
| 713 | ) |
| 714 | |
| 715 | def initial_form_count(self): |
| 716 | """Return the number of forms that are required in this FormSet.""" |
| 717 | if not self.is_bound: |
| 718 | return len(self.get_queryset()) |
| 719 | return super().initial_form_count() |
| 720 | |
| 721 | def _existing_object(self, pk): |
| 722 | if not hasattr(self, "_object_dict"): |
no test coverage detected