Commits

Show all
Author Commit Message Labels Comments Date
Jannis Leidel
Auto merge.
Andrew Godwin
Fixed #1022: Show error messages from DB commit
Konstantine Rybnikov
skip non-found adapters
Andrew Godwin
Add missing comma
Andrew Godwin
Merged in jezdez/south (pull request #26)
Andrew Godwin
Fix 2.6 incompatability
Andrew Godwin
Guard MySQL database tests
Jannis Leidel
Convert default values of datetime.date to datetime.datetime instances to make a better guess at which timezone is meant later when running the migrations. This is especially useful for projects starting with USE_TZ = False but enable timezones support later on and still want to use the old migrations.
Jannis Leidel
Handle cases better in which the default value of a field is set to the callable django.utils.timezone.now by setting it to datetime.datetime.now (to be able to be compatible to USE_TZ = False).
Jannis Leidel
Added forgotten trailing comma.
Jannis Leidel
Added a custom datetime.datetime subclass to act as a compatibility layer between South and Django 1.4s timezone aware datetime objects.
Jannis Leidel
Fixed the timezone handling by simply converting the timezone aware datetime object into a naive version with the help of the default timezone (aka settings.TIME_ZONE).
Jannis Leidel
Added support for timezone aware datetime objects as supported in Django 1.4.
Andrew Godwin
Fixed #967: Set foreign key checks to 0 at the start of every transaction on MySQL.
Mike Fogel
#962 documentation for db.delete_index
Mike Fogel
logger - avoid outputing unrequested DEBUG info
Mike Fogel
logging test - avoid unrequested DEBUG output
Andrew Godwin
Merged in beyondwords/south-mysql (pull request #21)
F. Gabriel Gosselin
Moved debug statement in generic to more useful place (remove dry run output) Added more check to invalidate_table_constraints to avoid KeyError Forced delete_table to invalidate through MySQL to clear lingering constraints
F. Gabriel Gosselin
Wipe out the constraint cache for the entire database (since MySQL updates the whole cache at once) This ensures all foreign key constraints are up to date and a referred table rename.
F. Gabriel Gosselin
Could have sworn I ran the tests before submitting, apparently not. Stupid bug: forgot self. to refer to newly added SQL definition.
F. Gabriel Gosselin
While testing rename of table with constraints, found that the new table (not yet being cached) passes tests in lookup_constraint. Must invalidate new table as well. Modified in generic, and refactored into sql query strings (like other methods) to remove duplicate code from MySQL.
F. Gabriel Gosselin
Clarifying remarks for decorators
F. Gabriel Gosselin
Allow the columns referred to as part of a foreign key (ex. id field) to be renamed This is of limited use in practice, but a stepping stone for table renames.
F. Gabriel Gosselin
Implementing foreign key column rename Hoisted DryRunError to generic to enable wider use for the copy_column_constraints decorator
F. Gabriel Gosselin
Refactored the delete_column for MySQL to use a decorator (and rely on parent delete) Added corresponding unit test to verify functionality (fails when decorator removed)
F. Gabriel Gosselin
Make unittests clean up after themselves
F. Gabriel Gosselin
Fix stupid refactoring bug introduced
F. Gabriel Gosselin
Add reverse lookup to detect inbound foreign references (foreign keys referring to given table.column) Step towards fixing table/column rename failure
F. Gabriel Gosselin
Adding referenced table/column lookup for constraints (extension of existing lookup) First feature addition toward copying column constraints when renaming tables or columns
  1. Prev
  2. Next