#31743 closed Cleanup/optimization (fixed)
Note that managed=false prevents modifications.
Reported by: | Steven Pousty | Owned by: | Steven Pousty |
---|---|---|---|
Component: | Documentation | Version: | 3.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Managed = false will also prevent modifications. This is made clear in the comments in the auto-generated output from inspectdb but is not mentioned here. This PR helps prevent the over half day wasted wondering makemigrations saw no changes when adding a new column to the table.
It would also be nice to add something to the first paragraph to make it clear that managed= True allows for modifications of the schema in the database.
Change History (4)
comment:1 by , 4 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Summary: | The Managed=True documentation is incomplete → Note that managed=false prevents modifications. |
Triage Stage: | Unreviewed → Accepted |
Type: | Bug → Cleanup/optimization |
Note:
See TracTickets
for help on using tickets.
It's a different layer, IMO we don't need to clarify that you can modify tables outside of Django.
PR