Skip to content

Commit 23725f7

Browse files
committed
Port secr/drafts/report_id_activity.py away from setup_environ too
- Legacy-Id: 6988
1 parent f02f2cc commit 23725f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/secr/drafts/report_id_activity.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
from ietf import settings
2-
from django.core import management
3-
management.setup_environ(settings)
1+
import os
2+
3+
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ietf.settings")
44

55
from ietf.secr.drafts.views import report_id_activity
66
import sys

0 commit comments

Comments
 (0)