summaryrefslogtreecommitdiff
path: root/tests/migrations/test_state.py
AgeCommit message (Expand)Author
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-07-10Fixed #35424 -- Checked order_with_respect_to is available when migrating _or...Daniel Patrick
2024-03-22Added ModelState.from_model() test for abstract model with unnamed indexes.Mariusz Felisiak
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
2023-11-23Fixed #26827 -- Improved ModelState error message when relations refer model ...Prashant Pandey
2023-09-18Refs #27236 -- Removed Meta.index_together per deprecation timeline.Mariusz Felisiak
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-07-12Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.David Wobrock
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-01-21Fixed #33449 -- Fixed makemigrations crash on models without Meta.order_with_...Fabian Büchler
2021-08-26Refs #29898 -- Changed fields in ProjectState's relation registry to dict.Mariusz Felisiak
2021-08-25Refs #29898 -- Made ProjectState encapsulate alterations in relations registry.Manav Agarwal
2021-08-19Fixed #33014 -- Made ProjectState raise exception when real_apps argument is ...Chris Jerdonek
2021-08-11Refs #29898 -- Changed ProjectState.real_apps to set.Mariusz Felisiak
2021-07-27Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments.David Smith
2021-06-07Fixed typos in test comments.luzpaz
2021-02-19Fixed #32458 -- Made __repr__() for Index and BaseConstraint subclasses more ...Hannes Ljungberg
2020-06-26Fixed #31742 -- Fixed makemigrations crash on ForeignKey to an app with mixed...Mariusz Felisiak
2020-04-22Fixed #31499 -- Stored ModelState.fields into a dict.Simon Charette
2020-04-22Refs #31499 -- Ignored field ordering to determine ModelState equality.Simon Charette
2020-04-08Refs #30966 -- Added test for reloading related model state on non-relational...Mariusz Felisiak
2020-04-07Refs #27666 -- Ensured relationship consistency on delayed reloads.Simon Charette
2020-01-16Fixed #29998 -- Allowed multiple OneToOneFields to the parent model.Mariusz Felisiak
2019-11-18Removed unnecessary parentheses in various code.Jon Dufresne
2019-10-29Used more specific unittest assertions in tests.Nick Pope
2019-07-08Changed django.db.models.indexes.Index imports to django.db.models.Index.Mariusz Felisiak
2018-10-02Refs #11964 -- Changed CheckConstraint() signature to use keyword-only argume...Simon Charette
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-04-10Refs #26605 -- Isolated a migrations state test.Tim Graham
2017-04-07Refs #26605 -- Added migrations state test for a swappable model inheriting a...Ingo Klöcker
2017-04-07Fixed #28051 -- Made migrations respect Index's name argument.Markus Holtermann
2017-03-21Fixed #27915 -- Allowed Meta.indexes to be defined in abstract models.Tim Graham
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-01-19Refs #23919 -- Removed str() conversion of type and method __name__.Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-08-05Fixed #26808 -- Added Meta.indexes for class-based indexes.Akshesh
2016-07-09Fixed #26881 -- Fixed duplicate managers in migrations.Loïc Bistuer
2016-06-27Fixed #26709 -- Added class-based indexes.Akshesh
2016-06-20Fixed #26643 -- Prevented unnecessary AlterModelManagers operations caused by...Loïc Bistuer
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-05-19Refs #26421 -- Refactored Apps.lazy_model_operation() for better checks and t...Alex Hill
2016-05-17Fixed #20932, #25897 -- Streamlined manager inheritance.Loïc Bistuer
2016-05-13Refs #24201 -- Ignored order_with_respect_to private fields in migrations.Simon Charette
2016-04-08Fixed E128 flake8 warnings in tests/.Tim Graham
2015-10-19Refs #18012 -- Accounted for reverse proxy relations in migrations.Simon Charette