Commits

Show all
Author Commit Message Labels Comments Date
charettes
Avoid has_ddl_transactions feature detection if the backend doesn't support transactions in the first place
Branches
has-ddl-transaction-feature-detection
charettes
Make sure to always drop the DDL_TRANSACTION_TEST table
Branches
has-ddl-transaction-feature-detection
charettes
Moved has_dll_transaction flag to feature detection
Branches
has-ddl-transaction-feature-detection
Comments 1
Jannis Leidel
Auto merge.
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.
Andrew Godwin
Fixed #1022: Show error messages from DB commit
Konstantine Rybnikov
skip non-found adapters
Andrew Godwin
Add missing comma
Andrew Godwin
Jannis Leidel
Added a custom datetime.datetime subclass to act as a compatibility layer between South and Django 1.4s timezone aware datetime objects.
Andrew Godwin
Fix 2.6 incompatability
Andrew Godwin
Guard MySQL database tests
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
  1. Prev
  2. Next