From 880909912c740e72e4be9642088a708b8e088bd3 Mon Sep 17 00:00:00 2001 From: Andrea Zucchelli Date: Sun, 13 Oct 2024 19:24:06 +0200 Subject: [PATCH] fix: sync command --- requirements.txt | 3 ++- wg_connection_manager/management/commands/sync.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index fc6ec8a..d22f22f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,5 @@ pywireguard==2.* whitenoise==6.7.0 django-environ gunicorn -py-redis \ No newline at end of file +py-redis +celery \ No newline at end of file diff --git a/wg_connection_manager/management/commands/sync.py b/wg_connection_manager/management/commands/sync.py index 6db8a38..9f933a4 100644 --- a/wg_connection_manager/management/commands/sync.py +++ b/wg_connection_manager/management/commands/sync.py @@ -1,5 +1,5 @@ from django.core.management.base import BaseCommand -from wg_connection_manager.dj_wg_manager import DJWGManager +from wg_connection_manager.dj_wg_manager_task import DJWGManager class Command(BaseCommand):