summaryrefslogtreecommitdiff
path: root/django/contrib/admin/migrations
AgeCommit message (Collapse)Author
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-04-29Refs #32675 -- Removed to_field from ForeignKeys in contrib apps' migrations.David Wobrock
Refs #22889.
2019-11-05Fixed #30947 -- Changed tuples to lists in model Meta options in ↵Jon Dufresne
django.contrib modules. The Django "Model Meta options" docs provide examples and generally point the reader to use lists for the unique_together and ordering options. Follow our own advice for contrib models. More generally, lists should be used for homogeneous sequences of arbitrary lengths of which both unique_together and ordering are.
2018-05-07Fixed #29370 -- Added choices to LogEntry.action_flag field.Nicolas Noé
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2015-09-04Fixed #25353 -- Changed LogEntry.action_time to a "date created".Tim Graham
2015-07-27Fixed #21127 -- Started deprecation toward requiring on_delete for ↵Flavio Curella
ForeignKey/OneToOneField
2015-07-17Refs #25073 -- Copied recently added verbose_names to migrations.Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-15Fixed #23822 -- Added support for serializing model managers in migrationMarkus Holtermann
Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin, Tim Graham, Carl Meyer, and others for their review and input.
2014-06-23Removed 'to_field' from ForeignKey(settings.AUTH_USER_MODEL) in admin's ↵Uriel Corfa
initial migration. This enables using a custom user model with a primary key with a name different than 'id'; refs #22889.
2014-06-16Use __first__ not __latest__ for unknown app dependenciesAndrew Godwin
2014-06-15Fixed #22563: Added migration to admin, fixed a few more loader issues.Andrew Godwin