From a2b80ea923ed8e3d160eb42b409db5681ae975a9 Mon Sep 17 00:00:00 2001 From: Brian Kohan Date: Fri, 7 Jun 2024 11:20:28 -0700 Subject: [PATCH] move django_typer imports to django_typer.management, also upgrade django_typer dependency to latest fix #126 --- pyproject.toml | 2 +- src/django_tailwind_cli/management/commands/tailwind.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d74b0b4..8d2f993 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ requires-python = ">=3.8" dependencies = [ "django>=3.2", "certifi>=2023.7.22,<2025.0.0", - "django-typer>=1.1.2", + "django-typer>=2.1.2", ] [project.optional-dependencies] django-extensions = ["django-extensions>=3.2", "werkzeug>=3.0"] diff --git a/src/django_tailwind_cli/management/commands/tailwind.py b/src/django_tailwind_cli/management/commands/tailwind.py index 4e6bde7..69e202d 100644 --- a/src/django_tailwind_cli/management/commands/tailwind.py +++ b/src/django_tailwind_cli/management/commands/tailwind.py @@ -16,7 +16,7 @@ from django.conf import settings from django.core.management.base import CommandError from django.template.utils import get_app_template_dirs -from django_typer import TyperCommand, command, initialize +from django_typer.management import TyperCommand, command, initialize from django_tailwind_cli.utils import Config