summaryrefslogtreecommitdiff
path: root/tests/migrations
AgeCommit message (Collapse)Author
2017-04-07Fixed #28051 -- Made migrations respect Index's name argument.Markus Holtermann
Thanks Marc Tamlyn for the report and Tim Graham for the review.
2017-03-21Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.Tim Graham
Thanks Markus Holtermann for review.
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
Thanks Tim Graham for the review.
2017-02-10Added multi_db=True to test cases that access the 'other' db connection.Tim Graham
Fixed a failure in the context processors tests when running in reverse on MySQL due to an extra query after refs #27683.
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
Thanks Tim Graham for the review.
2017-02-04Added tests for various __repr__() methods.Mads Jensen
2017-02-03Fixed spelling of "nonexistent".Tim Graham
2017-01-26Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context ↵Chillar Anand
manager.
2017-01-25Refs #23919 -- Removed misc Python 2/3 references.Tim Graham
2017-01-25Simplified tests with assertDoesNotOptimize().Ed Morley
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-25Removed unused variables that are overwritten.Mads Jensen
2017-01-24Removed unneeded force_text calls in the test suiteClaude Paroz
2017-01-21Refs #23919 -- Removed re.U and re.UNICODE (default on Python 3).Mariusz Felisiak
2017-01-20Refs #23919 -- Removed django.test.mock Python 2 compatibility shim.Tim Graham
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
These functions do nothing on Python 3.
2017-01-20Refs #23919 -- Simplified assertRaisesRegex()'s that accounted for Python 2.Tim Graham
2017-01-20Refs #23919 -- Removed unneeded force_str callsClaude Paroz
2017-01-19Refs #23919 -- Removed enum ImportError handling for Python 2.Tim Graham
2017-01-19Refs #23919 -- Removed str() conversion of type and method __name__.Simon Charette
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Replaced io.open() with open().Aymeric Augustin
io.open() is an alias for open() on Python 3.
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #25604 -- Removed makemigrations --exit option per deprecation timeline.Tim Graham
2017-01-13Made contenttypes and auth apps unavailable when not necessary in tests.Simon Charette
2017-01-10Fixed #27717 -- Allowed migration optimization across AlterModelOptions.Ed Morley
2017-01-09Fixed test isolation in a couple migrations tests.Tim Graham
Without this, tests from refs #27432 fail when running with --reverse.
2017-01-06Fixed #27432 -- Made app_label arguments limit showmigrations --plan output.Sebastian Spiegel
2016-12-10Fixed #27310 -- Stopped rendering apps in RenameModel.state_forwards.Simon Charette
Thanks Tim for the review.
2016-12-07Fixed #27579 -- Added aliases for Python 3's assertion names in SimpleTestCase.Tim Graham
2016-11-29Fixed #27507 -- Used SchemaEditor.execute() to run deferred_sql in migrate's ↵Lex Berezhny
sync_apps().
2016-11-14Fixed #27463 -- Fixed E741 flake8 warnings.Ramin Farajpour Cami
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-11-09Fixed #27461 -- Fixed incorrect allow_migrate() arguments in makemigrations.Joseph Kahn
2016-11-08Fixed #27436 -- Fixed makemigrations crash when creating migrations on a ↵Zbigniew Siciarz
separate drive than where Django is installed.
2016-11-06Fixed #27378 -- Added support for serialization of uuid.UUID in migrations.Maxime Lorant
Thanks Yuriy Korobko for the initial patch and Tobias McNulty for review.
2016-10-13Fixed #27200 -- Provided makemigration's allow_migrate() with model_name.Tim Graham
2016-10-06Fixed #27300 -- Made makemigrations --dry-run output a string (no bytes)Claude Paroz
Thanks Markus Holtermann for the report and the review.
2016-10-04Fixed #27279 -- Fixed a migration performance regression related to ↵Simon Charette
RenameModel operations. Thanks Trac alias mtomiyoshi for the report, Marten Kenbeek for the initial patch and Tim for the review.
2016-09-28Fixed #27217 -- Fixed crash in CreateModel optimization with models that use ↵Tim Graham
mixins. Thanks Simon Charette for review.
2016-09-19Fixed #27165 -- Removed unnecessary CreateModel(... 'indexes': []) in ↵akki
migrations.
2016-09-17Refs #27025 -- Fixed "invalid escape sequence" warnings in Python 3.6.Tim Graham
http://bugs.python.org/issue27364
2016-09-16Fixed typo in tests/migrations/test_loader.py.Tim Graham
2016-09-16Refs #27025 -- Fixed a test for the new re.RegexFlag in Python 3.6.Tim Graham
http://bugs.python.org/issue28082
2016-09-01Fixed #27142, #27110 -- Made makemigrations consistency checks respect ↵Tim Graham
database routers. Partially reverted refs #27054 except for one of the tests as this solution supersedes that one. Thanks Shai Berger for the review.