add django_library to servicecontroller tosca

Change-Id: I8726a9335ca7fb20872b27404d1276007e913995
diff --git a/xos/tosca/custom_types/xos.m4 b/xos/tosca/custom_types/xos.m4
index 6c9f452..3faedcc 100644
--- a/xos/tosca/custom_types/xos.m4
+++ b/xos/tosca/custom_types/xos.m4
@@ -84,6 +84,10 @@
                 type: string
                 required: false
                 description: url of admin.py
+            django_library:
+                type: string
+                required: false
+                description: libraries used by admin or models
             admin_template:
                 type: string
                 required: false
diff --git a/xos/tosca/custom_types/xos.yaml b/xos/tosca/custom_types/xos.yaml
index 0ea18a0..501b164 100644
--- a/xos/tosca/custom_types/xos.yaml
+++ b/xos/tosca/custom_types/xos.yaml
@@ -192,6 +192,10 @@
                 type: string
                 required: false
                 description: url of admin.py
+            django_library:
+                type: string
+                required: false
+                description: libraries used by admin or models
             admin_template:
                 type: string
                 required: false
diff --git a/xos/tosca/resources/servicecontroller.py b/xos/tosca/resources/servicecontroller.py
index d7e894a..1ad4a17 100644
--- a/xos/tosca/resources/servicecontroller.py
+++ b/xos/tosca/resources/servicecontroller.py
@@ -56,6 +56,7 @@
         # allow these common resource to be specified directly by the ServiceController tosca object
         self.postprocess_resource_prop(obj, "models", "python")
         self.postprocess_resource_prop(obj, "admin", "python")
+        self.postprocess_resource_prop(obj, "django_library", "python")
         self.postprocess_resource_prop(obj, "admin_template", "raw")
         self.postprocess_resource_prop(obj, "tosca_custom_types", "yaml")
         self.postprocess_resource_prop(obj, "tosca_resource", "python")