Access to creates_table manyToManyField attribute leftover from before the r11710 automatic throuth model change
|Reported by:||ramiro||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The sql_for_many_to_many_field and sql_destroy_many_to_many methods aren't called from anywhere in Django code anymore but were kept for backward compatibility with third-party code.
They will just always raise:
AttributeError: 'ManyToManyField' object has no attribute 'creates_table'
Change History (4)
Changed 6 years ago by ramiro
comment:1 Changed 6 years ago by ramiro
- Has patch set
- milestone set to 1.2
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset