Many-to-many tables are created even with managed=False
What else can I say..
django.db.backends.creation.sql_for_many_to_many has no guards whatsoever.
def sql_for_many_to_many(self, model, style):
"Return the CREATE TABLE statments for all the many-to-many tables defined on a model"
output = []
for f in model._meta.local_many_to_many:
output.extend(self.sql_for_many_to_many_field(model, f, style))
return output
milestone: |
→ 1.1
|
Owner: |
changed from nobody to jbronn
|
Triage Stage: |
Unreviewed → Accepted
|
Triage Stage: |
Accepted → Design decision needed
|
Needs documentation: |
set
|
Owner: |
changed from jbronn to Jacob
|
Triage Stage: |
Design decision needed → Accepted
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
patch