Make embedded models unmanaged

XMLWordPrintableJSON

    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      In Django, unmanaged models are those for which no database table creation, modification, or deletion operations will be performed for this model. This is semantically correct for embedded models.

      By making embedded models unmanaged, other workarounds to prevent the schema editor from acting on embedded models can be removed (after a deprecation period since embedded models will still be considered managed in historical migrations).

      Currently, there's no way to detect whether or not a model is embedded for the purpose of generating embedded field migration operation. Thus, this issue is a prerequisite to INTPYTHON-796.

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

              Created:
              Updated:
              Resolved: