django1/django/db/migrations
Mariusz Felisiak c5cd878382
Refs #33476 -- Refactored problematic code before reformatting by Black.
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],
)
2022-02-03 11:20:46 +01:00
..
operations Fixed #33402 -- Optimized multiple AlterFooTogether operations. 2022-01-04 06:24:03 +01:00
__init__.py Implement swappable model support for migrations 2014-01-19 16:43:12 +00:00
autodetector.py Fixed #33480 -- Fixed makemigrations crash when renaming field of renamed model. 2022-02-01 07:01:41 +01:00
exceptions.py Simplified imports from django.db and django.contrib.gis.db. 2020-02-04 13:20:06 +01:00
executor.py Fixed #23273 -- Avoided creation of django_migrations table when there are no migrations to apply. 2021-12-30 06:36:55 +01:00
graph.py Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments. 2021-07-27 10:41:51 +02:00
loader.py Refs #29898 -- Changed ProjectState.real_apps to set. 2021-08-11 09:01:14 +02:00
migration.py Fixed #31516 -- Improved naming of migrations with multiple operations. 2021-03-12 11:56:12 +01:00
optimizer.py Refs #22608 -- Made app_label required when optimizing migrations. 2020-04-09 10:08:02 +02:00
questioner.py Refs #29026 -- Allowed customizing InteractiveMigrationQuestioner's prompt destination. 2022-01-03 12:30:51 +01:00
recorder.py Fixed #31233 -- Closed database connections and cursors after use. 2020-02-06 15:35:23 +01:00
serializer.py Fixed #32365 -- Made zoneinfo the default timezone implementation. 2021-09-16 12:11:05 +02:00
state.py Fixed #33449 -- Fixed makemigrations crash on models without Meta.order_with_respect_to but with _order field. 2022-01-21 06:44:53 +01:00
utils.py Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
writer.py Fixed #30147 -- Simplified directory creation with os.makedirs(..., exist_ok=True). 2019-01-31 12:53:36 -05:00