#6620 closed (invalid)
manage.py syncdb does not alter database
| Reported by: | anonymous | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When I change fields in my models.py fi from ForeignKey to ManyToManyField i run manage.py syncdb and database isn't changed even though it's empty
Change History (3)
comment:1 by , 18 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 18 years ago
Should have been: "Lack of this feature in Django core is a design decision..."
comment:3 by , 15 years ago
| Component: | Core framework → Database layer (models, ORM) |
|---|
Note:
See TracTickets
for help on using tickets.
The lak of this fature in Django core a design decision. See http://www.djangoproject.com/documentation/faq/#if-i-make-changes-to-a-model-how-do-i-update-the-database
There are a handful of external projects that strive to implement this feature: