Commits

Author Commit Message Labels Comments Date
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix error message
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix abstract model inheritance
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
models = {} should still be auto-updateable from
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Don't detect adding/removing a Meta as a field change
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Make model inheritance work. Properly.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Oops. Remove things from the triple, not the def.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix #92: Not removing choices= for --add-field.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix bad handling of ForeignKeys in --add-field
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix M2M fields and adding models.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Startmigration wasn't putting in db.send_create_signal.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix #90: default=None results in "DEFAULT None", and also add delete_primary_key as an alias.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for #89
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Some test cleanup, and a new feature in db.py; adding and removing primary keys.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Renaming startmigration2, step 2. I should fix SVN.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Renaming startmigration2, step 1
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Add/remove fields and models now work for automaticness. Only lacking changing of fields.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Last commit was missing a 'not'.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Allow migrate-before-tests to be turned back on with the SOUTH_TESTS_MIGRATE setting.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Start of automatic change detection code - currently does adding/removing of models.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Models parser unit tests, and a bug that writing them caught.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Test cleanup and rejiggling.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Final bit of polishing on new ORM freezer. Ready for initial testing.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Drop table now cascades by default, as this is usually the intended behaviour. You can pass cascade=False to stop this.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Updated ORM and ORM-ified migration command; it's nearly there.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Upgrades to the models parser and fake ORM; both now seem to be working reasonably well. The new startmigration needs more work, however.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for bug #84: Wrong signature for SQLite delete_column.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Models.py parser is in a state of OMG-it-actually-works.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Initial attempt at a models.py parser, using the parser module. Committing this for posterity (and the css-selector-tree-searcher), since it might be easier to use something simpler.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
First part of ORM-in-migrations
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix quoting of % in execute_many
  1. Prev
  2. Next