Commits

Show all
Author Commit Message Labels Comments Date
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Unit tests galore.
Tags
0.3
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Version bump in preparation for release. Also, a contender in "shortest commit ever".
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
shameless author update
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
don't create an index for any column that's also unique. the create table statement should create a unique index by default for this column
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
updated syncdb to work with new migration module detection functions
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Rewrite of migration to use the migrations package not the models module, better working out of which direction an app is going in, and a --merge
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
specify unique as a kwarg in creating unique_together indexes. reads easier
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Do imports correctly, so apps not on pythonpath directly work.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
cleaned up the comment stripping code. should now work in all cases.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
added back all the stuff that r44 accidentily removed
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Make column sql creator use quote name (postgres doesn't like my user column otherwise)
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
added support for startmigration to generate correct field definitions for fields defined in a parent model (abstract or not)
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
try to get rid of comments in field definitions. still a possible case that will mess us up, tho
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Slightly nicer error messages.
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
A mostly-complete tree-dependency resolver. Still in need of some solid testing.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
added functionality to support unique multi-column indexes.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
changed the variable name from field_names to column_names indicating that we want to actual DB column name, not the django field name
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
added support for looking at the db_index property of a field and generating a CREATE INDEX statement automatically for it
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
added a hook to allow a field to resolve any necessary dependencies before it's attributes are accessed during sql construction
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
M2M fields are now supported by startmigration
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix the current very simple tests to work again.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
startmigration is almost working again
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Allow migrations with no models to work properly.
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix ./manage.py migrate so you can perform actions on single apps, not everything at once.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Added another TODO note about generate_field_definition needing to support model inheritance
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
startmigration now outputs new Field based migration files.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
changed create_table and add_column to use a list of django.db.models.fields.Field classes to represent fields now.
Default avatar and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Make delete_column actually work, and wrap all migrations in a transaction.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
added support for emitting a post_syncdb signal.
Default avatar amcc...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
typo in m2m generated create code that didn't include the ending ']' on the field list
  1. Prev
  2. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.