Add new Django 1.5 localflavor fields to allowed_fields
Updating signals to match post_sycndb signal of Django. Added verbosity, interactive and db arguments.
…of Django. Added verbosity, interactive and db arguments.
Replace import logic for `StringIO` with `utils.py3`
….py3` --HG-- branch : python3
…ing on `PY3` --HG-- branch : python3
…in Python 3.
This commit adds testing to verify that no defaults are left in the database even through alter-column, and even when the column is not null, and fixes for all backends to comply (except SQLite and Oracle, which complied already). The fix for Firebird is untested. MySQL also untested, but shares the code path with Postgres, so hopefully ok. --HG-- extra : amend_source : fd10f9b
Correctly repopulate app cache on Django >= 1.6
--HG-- branch : django-1.6-app_cache
This change causes schemamigrate --auto to preserve ordering of fields in unique_together and index_together when changes are detected in existing models.
Make the handling of null-issues on backward-transactions more friendly
by generating the code for the field change together with the code that raises the exception when user chooses that option. The migration still needs to be edited, but more of the code that should end in it is already there. --HG-- branch : generate-null-issues-softer
…pported by Django
…r-1371312229825 (pull request #127) fix syncdb.py --no-initial-data option support
--HG-- branch : joke2k/fix-syncdbpy-noinitialdata-option-suppor-1371312229825
Removed the SQLite specific _default_value_workaround since the generic one already takes care of booleans.
…ic one already takes care of booleans --HG-- branch : sqlite-add_column-default