diff --git a/accounts/migrations/max_migration.txt b/accounts/migrations/max_migration.txt new file mode 100644 index 0000000..cbab66d --- /dev/null +++ b/accounts/migrations/max_migration.txt @@ -0,0 +1 @@ +0001_initial diff --git a/cards/migrations/max_migration.txt b/cards/migrations/max_migration.txt new file mode 100644 index 0000000..cbab66d --- /dev/null +++ b/cards/migrations/max_migration.txt @@ -0,0 +1 @@ +0001_initial diff --git a/django_project/settings.py b/django_project/settings.py index dade4b0..d8fce03 100644 --- a/django_project/settings.py +++ b/django_project/settings.py @@ -68,6 +68,16 @@ DEBUG = env('DEBUG') ALLOWED_HOSTS = env('ALLOWED_HOSTS').split(',') CSRF_TRUSTED_ORIGINS = env('CSRF_TRUSTED_ORIGINS').split(',') + +FIRST_PARTY_APPS = [ + "theme", + "common", + "accounts", + "cards", + "home", + "trades" +] + # Application definition # https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps INSTALLED_APPS = [ @@ -86,14 +96,9 @@ INSTALLED_APPS = [ "crispy_forms", "crispy_tailwind", "tailwind", - "theme", - "common", - "accounts", - "cards", - "home", - "trades", + "django_linear_migrations", "meta", -] +] + FIRST_PARTY_APPS if DEBUG: INSTALLED_APPS.append("django_browser_reload") diff --git a/pyproject.toml b/pyproject.toml index 52db755..2b8a83f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,4 +41,5 @@ dependencies = [ "typing-extensions==4.9.0", "urllib3==1.26.14", "whitenoise==6.7.0", + "django-linear-migrations>=2.17.0", ] diff --git a/trades/migrations/max_migration.txt b/trades/migrations/max_migration.txt new file mode 100644 index 0000000..cbab66d --- /dev/null +++ b/trades/migrations/max_migration.txt @@ -0,0 +1 @@ +0001_initial diff --git a/uv.lock b/uv.lock index 42324ef..93d61c1 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,4 @@ version = 1 -revision = 1 requires-python = ">=3.13" [[package]] @@ -56,7 +55,7 @@ name = "click" version = "8.1.8" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "colorama", marker = "platform_system == 'Windows'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/b9/2e/0090cbf739cee7d23781ad4b89a9894a41538e4fcf4c31dcdd705b78eb8b/click-8.1.8.tar.gz", hash = "sha256:ed53c9d8990d83c2a27deae68e4ee337473f6330c040a31d4225c9574d16096a", size = 226593 } wheels = [ @@ -199,6 +198,18 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/83/b3/0a3bec4ecbfee960f39b1842c2f91e4754251e0a6ed443db9fe3f666ba8f/django_environ-0.12.0-py2.py3-none-any.whl", hash = "sha256:92fb346a158abda07ffe6eb23135ce92843af06ecf8753f43adf9d2366dcc0ca", size = 19957 }, ] +[[package]] +name = "django-linear-migrations" +version = "2.17.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "django" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/5d/47/b56cd02fa31a26972e489f0ae42b112dc73343f7bc0243581a5947921818/django_linear_migrations-2.17.0.tar.gz", hash = "sha256:29ce3710e1334494d5bcc8b707bde0253e1eacc5a8bf163d7234c88fe3493242", size = 18820 } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a2/ba/0843be5ea568831d144c56fe1cf31b5741aac98e7583c783fad16b197ab6/django_linear_migrations-2.17.0-py3-none-any.whl", hash = "sha256:5960fd156071127e25e51f41c00a2fb4388ab64da5f581defe7933b7414b33ff", size = 15535 }, +] + [[package]] name = "django-meta" version = "2.4.2" @@ -399,6 +410,7 @@ dependencies = [ { name = "django-daisy" }, { name = "django-debug-toolbar" }, { name = "django-environ" }, + { name = "django-linear-migrations" }, { name = "django-meta" }, { name = "django-tailwind-4", extra = ["reload"] }, { name = "django-widget-tweaks" }, @@ -439,6 +451,7 @@ requires-dist = [ { name = "django-daisy", specifier = "==1.0.13" }, { name = "django-debug-toolbar", specifier = "==4.4.6" }, { name = "django-environ", specifier = "==0.12.0" }, + { name = "django-linear-migrations", specifier = ">=2.17.0" }, { name = "django-meta", specifier = "==2.4.2" }, { name = "django-tailwind-4", extras = ["reload"], specifier = "==0.1.4" }, { name = "django-widget-tweaks", specifier = "==1.5.0" },