Add forms support for polymorphic embedded models

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: django
    • None
    • Python Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      PolymorphicEmbeddedModelArrayFiel and PolymorphicEmbeddedModelArrayField are not representable in forms.

      Django doesn't have any builtin notion of polymorphic formsets. Implementing something similar like https://django-polymorphic.readthedocs.io/en/latest/formsets.html maybe be possible, however, the UI for embedded models is already rough around the edges (INTPYTHON-643).

            Assignee:
            Unassigned
            Reporter:
            Tim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: