summaryrefslogtreecommitdiff
path: root/django/db/migrations/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #33605 -- Fixed migration crash when altering RegexValidator to ↵Brian Helba2022-04-041-0/+2
| | | | pre-compiled regular expression.
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-15/+25
|
* Refs #33476 -- Refactored problematic code before reformatting by Black.Mariusz Felisiak2022-02-031-2/+1
| | | | | | | | | | | | | | | | | In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], )
* Refs #29898 -- Moved django.db.migrations.operations.utils to ↵manav0142021-06-221-0/+72
| | | | django.db.migrations.utils.
* Refs #29899 -- Moved resolve_relation() to django.db.migrations.utils.David Wobrock2021-04-161-0/+29
|
* Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette2017-01-191-1/+1
|
* Fixed #26429 -- Added a timestamp to merge migration names.Raphael Gaschignard2016-05-111-0/+5
| | | | This reduces the possibility of a naming conflict, especially after squashing migrations.
* Fixed #25280 -- Properly checked regex objects for equality to prevent ↵Markus Holtermann2015-08-271-0/+12
infinite migrations Thanks Sayid Munawar and Tim Graham for the report, investigation and review.