MCPcopy Index your code
hub / github.com/django/django / __init__

Method __init__

django/forms/models.py:692–713  ·  view source on GitHub ↗
(
        self,
        data=None,
        files=None,
        auto_id="id_%s",
        prefix=None,
        queryset=None,
        *,
        initial=None,
        **kwargs,
    )

Source from the content-addressed store, hash-verified

690 unique_fields = set()
691
692 def __init__(
693 self,
694 data=None,
695 files=None,
696 auto_id="id_%s",
697 prefix=None,
698 queryset=None,
699 *,
700 initial=None,
701 **kwargs,
702 ):
703 self.queryset = queryset
704 self.initial_extra = initial
705 super().__init__(
706 **{
707 "data": data,
708 "files": files,
709 "auto_id": auto_id,
710 "prefix": prefix,
711 **kwargs,
712 }
713 )
714
715 def initial_form_count(self):
716 """Return the number of forms that are required in this FormSet."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected