Workaround for a very annoying issue. For some reason, policy handlers
[plstackapi.git] / planetstack / model_policies / model_policy_Slice.py
index 5d66903..6fd968c 100644 (file)
@@ -1,6 +1,7 @@
-from core.models import *
 
 def handle(slice):
+       from core.models import SiteDeployments,SliceDeployments,Deployment
+       from collections import defaultdict
        site_deployments = SiteDeployments.objects.all()
        site_deploy_lookup = defaultdict(list)
        for site_deployment in site_deployments: