summaryrefslogtreecommitdiff
path: root/django/contrib/auth/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-10-31Used more augmented assignment statements.Nick Pope
Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]'
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
2021-04-29Refs #32675 -- Removed to_field from ForeignKeys in contrib apps' migrations.David Wobrock
Refs #22889.
2020-03-18Fixed #31371 -- Increased User.first_name max_length to 150 characters.Ryan Petrello
2020-02-04Simplified imports from django.db and django.contrib.gis.db.Nick Pope
2019-11-29Fixed #31021 -- Fixed proxy model permissions data migration crash with a ↵Mariusz Felisiak
multiple databases setup. Regression in 98296f86b340c8c9c968375d59f1d3a3479e60c2.
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.
2019-04-27Fixed #30351 -- Handled pre-existing permissions in proxy model permissions ↵Carlton Gibson
data migration. Regression in 181fb60159e54d442d3610f4afba6f066a6dac05.
2019-01-16Fixed #11154, #22270 -- Made proxy model permissions use correct content type.Arthur Rio
Co-Authored-By: Simon Charette <charette.s@gmail.com> Co-Authored-By: Antoine Catton <acatton@fusionbox.com>
2018-11-14Fixed #29939 -- Increased Group.name max_length to 150 characters.Timothy Allen
2017-05-18Fixed #28152 -- Made migrations serialize sets as set literals rather than ↵Jon Dufresne
set().
2017-01-28Fixed #26993 -- Increased User.last_name max_length to 150 characters.Thom Wiggers
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
Thanks Tim Graham for the review.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-05-16Fixed #21379 -- Created auth-specific username validatorsClaude Paroz
Thanks Tim Graham for the review.
2016-01-08Fixed #20846 -- Decreased User.username max_length to 150 characters.Collin Anderson
2015-10-29Fixed #20846 -- Increased User.username max_length to 254 characters.Tim Graham
Thanks Collin Anderson and Nick Sandford for work on the patch.
2015-09-12Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić
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-05-28Added contrib.auth migration for refs #13147.Tim Graham
2015-02-16Fixed #24299 -- Added an auth migration to ensure contenttypes is migrated.Tim Graham
Without this migration, the auth signal handlers will fail if migrating only auth.
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-08-15Fixed #23294 -- Add related_name to existing migrations.Collin Anderson
Thanks to Florian Apolloner for the review; refs #23288.
2014-08-04Fixed #23163: Align user help text with migrationsAndrew Godwin
2014-08-01Fixed #7220 -- Allowed AbstractBaseUser.last_login to be null.Tim Graham
Thanks veena for the suggestion and Simon Charette and Kévin Etienne for reviews.
2014-07-10Added contrib.auth migration for refs #13147.Tim Graham
2014-07-04Fixed #20631 -- Increased the default EmailField max_length to 254.Tim Graham
Thanks pmartin for the report.
2014-06-30Fixed #8162 -- Increased Permission.name max_length to 255 characters.Tim Graham
2014-06-16Added database migration for contrib.auth.Tim Graham
refs #22170.