Commit 0a6762e9 by Bach Dániel

fabfile: fix django errors

parent 1649ffed
...@@ -10,6 +10,8 @@ from fabric.decorators import roles, parallel ...@@ -10,6 +10,8 @@ from fabric.decorators import roles, parallel
env.roledefs['portal'] = ['localhost'] env.roledefs['portal'] = ['localhost']
try: try:
import django
django.setup()
from vm.models import Node as _Node from vm.models import Node as _Node
from storage.models import DataStore as _DataStore from storage.models import DataStore as _DataStore
except Exception as e: except Exception as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment