aboutsummaryrefslogtreecommitdiff
path: root/rpki/pubd.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpki/pubd.py')
-rw-r--r--rpki/pubd.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rpki/pubd.py b/rpki/pubd.py
index 71a62fee..335e9174 100644
--- a/rpki/pubd.py
+++ b/rpki/pubd.py
@@ -95,6 +95,9 @@ class main(object):
if self.profile:
logger.info("Running in profile mode with output to %s", self.profile)
+ import django
+ django.setup()
+
global rpki
import rpki.pubdb