Skip to content

Commit

Permalink
fix(startup): explicitly run django setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nsantacruz committed Dec 9, 2024
1 parent 781a1ed commit 895a538
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions reader/startup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@


def init_library_cache():
import django
django.setup()
import structlog
logger = structlog.get_logger(__name__)

Expand Down

0 comments on commit 895a538

Please sign in to comment.