Ticket #7 (closed enhancement: fixed)
Make changes in models automatic
| Reported by: | patrick.lauber@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | major | Milestone: | 0.5 |
| Component: | commands | Version: | |
| Keywords: | Cc: |
Description
Don't just create a skeleton. Try to determine and then to write them in a new migration file.
with a wizard you could even ask if there where any renames
Attachments
Change History
comment:2 Changed 5 years ago by amccurdy
The startmigration command tries to cover common use cases for migration file generation. Currently, it covers the following use cases:
- Creating an "initial" file that generates creates for all objects syncdb would create.
- Creating a new table(s) with the --model option.
We'll also be adding a --field option for adding a field to an existing model, since that seems like a pretty common use case.
If you have a use case that isn't covered, and feel it's common, please let us know.
comment:3 Changed 4 years ago by andrew
- Status changed from accepted to closed
- Resolution set to wontfix
Closing this, as it's unlikely we'll write a model history tracker in the near future, and django-evolution does this well - no need to reinvent the wheel in that area.

Yes, this is verging on django-evolution, and exactly what we're probably going to head towards as we discuss merging features from all three.