Skip to content

Commit

Permalink
Add debugging logs
Browse files Browse the repository at this point in the history
  • Loading branch information
aloftus23 committed Dec 12, 2024
1 parent 7d5a018 commit be1c42d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions backend/src/xfd_django/xfd_api/tasks/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,12 @@
from ..schema_models.scan import SCAN_SCHEMA
from .ecs_client import ECSClient

# Set the Django settings module
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "xfd_django.settings")
os.environ["DJANGO_ALLOW_ASYNC_UNSAFE"] = "true"

# Third-Party Libraries
import django

# Initialize Django
print("Setting up Django...")
django.setup()
print("Django setup complete.")


def chunk(iterable, size):
Expand Down

0 comments on commit be1c42d

Please sign in to comment.