Skip to content

Commit f0f0f7f

Browse files
fix: remove django-linear-migrations (#14571)
Removes django-linear-migrations from requirements-dev.txt, INSTALLED_APPS, and deletes max_migration.txt. The tool caused startup failures when the package was not installed but DD_DEBUG=True.
1 parent 54dfaf3 commit f0f0f7f

3 files changed

Lines changed: 0 additions & 11 deletions

File tree

dojo/db_migrations/max_migration.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

dojo/settings/settings.dist.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2118,14 +2118,7 @@ def saml2_attrib_map_format(din):
21182118

21192119
MIDDLEWARE = ["debug_toolbar.middleware.DebugToolbarMiddleware", *MIDDLEWARE]
21202120

2121-
# Linear migrations for development
2122-
# Helps avoid merge migration conflicts by tracking the latest migration
21232121
if DEBUG:
2124-
INSTALLED_APPS = (
2125-
"django_linear_migrations", # Must be before dojo to override makemigrations
2126-
*INSTALLED_APPS,
2127-
)
2128-
21292122
def show_toolbar(request):
21302123
return True
21312124

requirements-dev.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ parameterized==0.9.0
1313

1414
# Development file watching (hot reload)
1515
watchdog[watchmedo]==6.0.0
16-
17-
# Migration management - allows for easy rebasing via manage.py rebase_migration
18-
django-linear-migrations==2.19.0

0 commit comments

Comments
 (0)