Removed enacted field from initial_data.json and admin.py, corrected type on urls...
authorSiobhan Tully <stully@verivue.com>
Fri, 6 Sep 2013 15:23:08 +0000 (11:23 -0400)
committerSiobhan Tully <stully@verivue.com>
Fri, 6 Sep 2013 15:23:08 +0000 (11:23 -0400)
planetstack/core/fixtures/initial_data.json
planetstack/planetstack/urls.py

index f034820..3db94b8 100644 (file)
@@ -4,7 +4,6 @@
     "model": "core.deployment", 
     "fields": {
         "updated": "2013-04-03T22:57:09.331Z", 
-        "enacted": null, 
         "name": "VICCI", 
         "created": "2013-04-03T22:57:09.331Z"
     }
@@ -14,7 +13,6 @@
     "model": "core.deployment", 
     "fields": {
         "updated": "2013-04-03T22:57:15.013Z", 
-        "enacted": null, 
         "name": "VINI", 
         "created": "2013-04-03T22:57:15.013Z"
     }
@@ -24,7 +22,6 @@
     "model": "core.deployment", 
     "fields": {
         "updated": "2013-04-03T22:57:23.015Z", 
-        "enacted": null, 
         "name": "PlanetLab Classic", 
         "created": "2013-04-03T22:57:23.015Z"
     }
@@ -34,7 +31,6 @@
     "model": "core.deployment", 
     "fields": {
         "updated": "2013-04-03T22:57:29.569Z", 
-        "enacted": null, 
         "name": "GENI", 
         "created": "2013-04-03T22:57:29.569Z"
     }
@@ -56,8 +52,7 @@
             3, 
             4
         ], 
-        "abbreviated_name": "", 
-        "enacted": null
+        "abbreviated_name": ""
     }
 },
 {
@@ -74,8 +69,7 @@
         "location": "37.4294,-122.172", 
         "is_public": true, 
         "deployments": [], 
-        "abbreviated_name": "", 
-        "enacted": null
+        "abbreviated_name": "" 
     }
 },
 {
@@ -92,8 +86,7 @@
         "location": "33.7772,-84.3976", 
         "is_public": true, 
         "deployments": [], 
-        "abbreviated_name": "", 
-        "enacted": null
+        "abbreviated_name": "" 
     }
 },
 {
         "location": "47.6531,-122.313", 
         "is_public": true, 
         "deployments": [], 
-        "abbreviated_name": "", 
-        "enacted": null
+        "abbreviated_name": "" 
     }
 },
 {
         "location": "47.3794,8.54513", 
         "is_public": true, 
         "deployments": [], 
-        "abbreviated_name": "", 
-        "enacted": null
+        "abbreviated_name": "" 
     }
 },
 {
         "location": "49.14,6.589", 
         "is_public": true, 
         "deployments": [], 
-        "abbreviated_name": "", 
-        "enacted": null
+        "abbreviated_name": ""
     }
 },
 {
         "location": "35.75,139.5", 
         "is_public": true, 
         "deployments": [], 
-        "abbreviated_name": "", 
-        "enacted": null
+        "abbreviated_name": "" 
     }
 },
 {
         ], 
         "commitment": 0, 
         "name": "Best Effort", 
-        "upgradeRequiresApproval": false, 
-        "enacted": null
+        "upgradeRequiresApproval": false 
     }
 },
 {
         ], 
         "commitment": 365, 
         "name": "Silver", 
-        "upgradeRequiresApproval": false, 
-        "enacted": null
+        "upgradeRequiresApproval": false 
     }
 },
 {
         ], 
         "commitment": 365, 
         "name": "Gold", 
-        "upgradeRequiresApproval": false, 
-        "enacted": null
+        "upgradeRequiresApproval": false 
     }
 },
 {
         "bucketInRate": 0, 
         "cost": 7, 
         "maxUnitsNode": 0, 
-        "maxDuration": 0, 
-        "enacted": null
+        "maxDuration": 0 
     }
 },
 {
         "bucketInRate": 0, 
         "cost": 7, 
         "maxUnitsNode": 0, 
-        "maxDuration": 0, 
-        "enacted": null
+        "maxDuration": 0 
     }
 },
 {
         "bucketInRate": 0, 
         "cost": 7, 
         "maxUnitsNode": 0, 
-        "maxDuration": 0, 
-        "enacted": null
+        "maxDuration": 0 
     }
 },
 {
         "bucketInRate": 10, 
         "cost": 7, 
         "maxUnitsNode": 6, 
-        "maxDuration": 168, 
-        "enacted": null
+        "maxDuration": 168 
     }
 },
 {
         "bucketInRate": 0, 
         "cost": 0, 
         "maxUnitsNode": 6, 
-        "maxDuration": 8760, 
-        "enacted": null
+        "maxDuration": 8760 
     }
 },
 {
         "description": "PlanetStack Application Administrator", 
         "created": "2013-07-30T10:30:28.633Z", 
         "content_type": 8, 
-        "role_type": "Admin", 
-        "enacted": null
+        "role_type": "Admin" 
     }
 },
 {
         "description": "User level role for PlanetStack Application", 
         "created": "2013-07-30T10:31:02.627Z", 
         "content_type": 8, 
-        "role_type": "Default", 
-        "enacted": null
+        "role_type": "Default" 
     }
 },
 {
         "description": "Administrative role for a Slice", 
         "created": "2013-07-30T10:31:25.829Z", 
         "content_type": 21, 
-        "role_type": "Admin", 
-        "enacted": null
+        "role_type": "Admin" 
     }
 },
 {
         "description": "User level access for a particular Slice", 
         "created": "2013-07-30T10:31:48.791Z", 
         "content_type": 21, 
-        "role_type": "Default", 
-        "enacted": null
+        "role_type": "Default" 
     }
 },
 {
         "description": "Administrator role for a particular Site", 
         "created": "2013-07-30T10:32:20.600Z", 
         "content_type": 15, 
-        "role_type": "Admin", 
-        "enacted": null
+        "role_type": "Admin" 
     }
 },
 {
         "description": "Principal Investigator for a particular Site", 
         "created": "2013-07-30T10:34:39.494Z", 
         "content_type": 15, 
-        "role_type": "PI", 
-        "enacted": null
+        "role_type": "PI" 
     }
 },
 {
         "description": "Technical support for a particular Site. Allows for Read/Write access to a Site's Nodes.", 
         "created": "2013-07-30T10:35:27.633Z", 
         "content_type": 15, 
-        "role_type": "Tech", 
-        "enacted": null
+        "role_type": "Tech" 
     }
 },
 {
         "description": "Responsibility for a particular Site's accounting and invoices.", 
         "created": "2013-07-30T10:38:04.554Z", 
         "content_type": 15, 
-        "role_type": "Billing", 
-        "enacted": null
+        "role_type": "Billing" 
     }
 },
 {
         "description": "Default access for a particular Site which allows for Read-only access to the Site's objects.", 
         "created": "2013-07-30T10:39:07.062Z", 
         "content_type": 15, 
-        "role_type": "Default", 
-        "enacted": null
+        "role_type": "Default" 
     }
 },
 {
         "description": "Represents the Site through which a particular user is managed through.", 
         "created": "2013-07-30T10:39:55.479Z", 
         "content_type": 15, 
-        "role_type": "Homed", 
-        "enacted": null
+        "role_type": "Homed" 
     }
 },
 {
         "description": "Administrative responsibility for a particular Deployment.",
         "created": "2013-07-30T17:35:59.815Z",
         "content_type": 9,
-        "role_type": "Admin",
-        "enacted": null
+        "role_type": "Admin"
     }
 },
 {
         "description": "Default access for a particular Deployment.",
         "created": "2013-07-30T17:36:54.728Z",
         "content_type": 9,
-        "role_type": "Default",
-        "enacted": null
+        "role_type": "Default"
     }
 },
 {
     "model": "core.planetstackrole",
     "fields": {
         "updated": "2013-09-03T11:47:42.611Z",
-        "enacted": "2013-09-03T11:47:51Z",
         "role": "admin",
         "created": "2013-09-03T11:47:42.611Z"
     }
     "model": "core.siterole",
     "fields": {
         "updated": "2013-09-03T11:48:34.966Z",
-        "enacted": null,
         "role": "admin",
         "created": "2013-09-03T11:48:34.966Z"
     }
     "model": "core.siterole",
     "fields": {
         "updated": "2013-09-03T11:48:49.480Z",
-        "enacted": null,
         "role": "pi",
         "created": "2013-09-03T11:48:49.480Z"
     }
     "model": "core.siterole",
     "fields": {
         "updated": "2013-09-03T11:49:03.678Z",
-        "enacted": null,
         "role": "tech",
         "created": "2013-09-03T11:49:03.678Z"
     }
     "model": "core.siterole",
     "fields": {
         "updated": "2013-09-03T11:49:17.254Z",
-        "enacted": null,
         "role": "billing",
         "created": "2013-09-03T11:49:17.254Z"
     }
     "model": "core.slicerole",
     "fields": {
         "updated": "2013-09-03T11:48:02.080Z",
-        "enacted": null,
         "role": "admin",
         "created": "2013-09-03T11:48:02.080Z"
     }
     "model": "core.slicerole",
     "fields": {
         "updated": "2013-09-03T11:48:17.688Z",
-        "enacted": null,
         "role": "default",
         "created": "2013-09-03T11:48:17.688Z"
     }
     "model": "core.deploymentrole",
     "fields": {
         "updated": "2013-09-03T11:48:02.080Z",
-        "enacted": null,
         "role": "admin",
         "created": "2013-09-03T11:48:02.080Z"
     }
index 039c206..cc8375a 100644 (file)
@@ -2,7 +2,7 @@ from django.conf.urls import patterns, include, url
 
 # Uncomment the next two lines to enable the admin:
 from django.contrib import admin
-from core.views.deployment import DeploymentList, DeploymentDetail
+from core.views.deployments import DeploymentList, DeploymentDetail
 from core.views.images import ImageList, ImageDetail
 from core.views.nodes import NodeList, NodeDetail
 from core.views.projects import ProjectList, ProjectDetail