--- /dev/null
+LOCAL SETTINGS
+[
+ {
+ "pk": 29,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "aboutblock",
+ "name": "about page block",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 33,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "application",
+ "name": "application",
+ "app_label": "cloudcms"
+ }
+ },
+ {
+ "pk": 27,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "applicationcontent",
+ "name": "application content",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 6,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "category",
+ "name": "category",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 30,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "category",
+ "name": "category",
+ "app_label": "medialibrary"
+ }
+ },
+ {
+ "pk": 7,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "categorytranslation",
+ "name": "category translation",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "contenttype",
+ "name": "content type",
+ "app_label": "contenttypes"
+ }
+ },
+ {
+ "pk": 8,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "entry",
+ "name": "entry",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 15,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "group",
+ "name": "group",
+ "app_label": "auth"
+ }
+ },
+ {
+ "pk": 25,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "imagecontent",
+ "name": "image",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "logentry",
+ "name": "log entry",
+ "app_label": "admin"
+ }
+ },
+ {
+ "pk": 28,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "loginform",
+ "name": "login form",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 26,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "mediafilecontent",
+ "name": "media file",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 31,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "mediafile",
+ "name": "media file",
+ "app_label": "medialibrary"
+ }
+ },
+ {
+ "pk": 32,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "mediafiletranslation",
+ "name": "media file translation",
+ "app_label": "medialibrary"
+ }
+ },
+ {
+ "pk": 17,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "message",
+ "name": "message",
+ "app_label": "auth"
+ }
+ },
+ {
+ "pk": 5,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "migrationhistory",
+ "name": "migration history",
+ "app_label": "south"
+ }
+ },
+ {
+ "pk": 18,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "page",
+ "name": "page",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 14,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "permission",
+ "name": "permission",
+ "app_label": "auth"
+ }
+ },
+ {
+ "pk": 20,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "rawcontent",
+ "name": "raw content",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 35,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "rawcontent",
+ "name": "raw content",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 9,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "richtextcontent",
+ "name": "rich text",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 19,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "richtextcontent",
+ "name": "rich text",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 13,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "sectioncontent",
+ "name": "section",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 21,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "sectioncontent",
+ "name": "section",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "session",
+ "name": "session",
+ "app_label": "sessions"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "site",
+ "name": "site",
+ "app_label": "sites"
+ }
+ },
+ {
+ "pk": 10,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "templatecontent",
+ "name": "template content",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 22,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "templatecontent",
+ "name": "template content",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 12,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "twitterfeed",
+ "name": "twitter feed",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 23,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "twitterfeed",
+ "name": "twitter feed",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 16,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "user",
+ "name": "user",
+ "app_label": "auth"
+ }
+ },
+ {
+ "pk": 11,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "videocontent",
+ "name": "video",
+ "app_label": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 24,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "videocontent",
+ "name": "video",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": 34,
+ "model": "contenttypes.contenttype",
+ "fields": {
+ "model": "videosection",
+ "name": "video section",
+ "app_label": "page"
+ }
+ },
+ {
+ "pk": "5a604b1a8a0c2dc4e9adc431f42679f4",
+ "model": "sessions.session",
+ "fields": {
+ "expire_date": "2012-03-06 15:11:20",
+ "session_data": "gAJ9cQEoVRJfYXV0aF91c2VyX2JhY2tlbmRxAlUpZGphbmdvLmNvbnRyaWIuYXV0aC5iYWNrZW5k\ncy5Nb2RlbEJhY2tlbmRxA1UNX2F1dGhfdXNlcl9pZHEESwF1LjhkMjBhNmMxMTFhYjVhNGE4NjE3\nZDUwM2Y5OGRhMDI3\n"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "sites.site",
+ "fields": {
+ "domain": "okeanos.cloud.grnet.gr",
+ "name": "okeanos.cloud.grnet.gr"
+ }
+ },
+ {
+ "pk": 79,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:12:53",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed _content_title and _page_title.",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 78,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:10:22",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed offset_top for about page block \"main on Who, ordering 3\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 77,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:10:09",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed offset_left for about page block \"main on Who, ordering 2\". Changed offset_left for about page block \"main on Who, ordering 3\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 76,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:09:53",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed offset_left for about page block \"main on Who, ordering 2\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 75,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:09:44",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed image for about page block \"main on Who, ordering 2\". Changed color for about page block \"main on Who, ordering 3\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 74,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:09:24",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed image_position for about page block \"main on Who, ordering 3\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 73,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:08:59",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed image_position for about page block \"main on Who, ordering 2\". Changed ordering for about page block \"main on Who, ordering 3\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 72,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:08:41",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Added about page block \"main on Who, ordering 2\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 71,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:08:41",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Added about page block \"main on Who, ordering 2\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 70,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:07:13",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed offset_top for about page block \"main on Who, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 69,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:06:45",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Changed offset_top for about page block \"main on Who, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 68,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:05:59",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Added about page block \"main on Who, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 67,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 15:04:38",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "Added about page block \"main on Who, ordering 0\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 66,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:59:18",
+ "object_repr": "~okeanos presentation at \"Data Centres Southern Europe and Eastern Mediterranean Regional Forum\"",
+ "object_id": "3",
+ "change_message": "",
+ "user": 1,
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 65,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:57:02",
+ "object_repr": "Do you have an invitation but cannot login?",
+ "object_id": "1",
+ "change_message": "Changed categories.",
+ "user": 1,
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 64,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:57:00",
+ "object_repr": "alpha",
+ "object_id": "4",
+ "change_message": "",
+ "user": 1,
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 63,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:56:56",
+ "object_repr": "users",
+ "object_id": "3",
+ "change_message": "",
+ "user": 1,
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 62,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:56:16",
+ "object_repr": "Do you have an invitation but cannot login?",
+ "object_id": "1",
+ "change_message": "Changed image.",
+ "user": 1,
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 61,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:56:10",
+ "object_repr": "Keynote talk on ~okeanos at CloudCom 2011",
+ "object_id": "2",
+ "change_message": "Changed image.",
+ "user": 1,
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 60,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:56:02",
+ "object_repr": "stock - many pcs",
+ "object_id": "10",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 59,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:55:49",
+ "object_repr": "stock -abstract",
+ "object_id": "9",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 58,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:55:05",
+ "object_repr": "stock - notepad on laptop",
+ "object_id": "8",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 57,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:54:49",
+ "object_repr": "stock - woman with ipad",
+ "object_id": "7",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 56,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:52:46",
+ "object_repr": "Keynote talk on ~okeanos at CloudCom 2011",
+ "object_id": "2",
+ "change_message": "Changed intro_text.",
+ "user": 1,
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 55,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:52:35",
+ "object_repr": "Keynote talk on ~okeanos at CloudCom 2011",
+ "object_id": "2",
+ "change_message": "",
+ "user": 1,
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 54,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:51:15",
+ "object_repr": "Do you have an invitation but cannot login?",
+ "object_id": "1",
+ "change_message": "Added rich text \"main on Do you have an invitation but cannot login?, ordering 0\".",
+ "user": 1,
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 53,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:50:58",
+ "object_repr": "Do you have an invitation but cannot login?",
+ "object_id": "1",
+ "change_message": "",
+ "user": 1,
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 52,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:49:07",
+ "object_repr": "Blog",
+ "object_id": "6",
+ "change_message": "Added twitter feed \"sidebar on Blog, ordering 0\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 51,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:47:01",
+ "object_repr": "News",
+ "object_id": "1",
+ "change_message": "Changed ordering.",
+ "user": 1,
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 50,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:46:57",
+ "object_repr": "Blog",
+ "object_id": "2",
+ "change_message": "No fields changed.",
+ "user": 1,
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 49,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:46:46",
+ "object_repr": "Blog",
+ "object_id": "6",
+ "change_message": "Changed navigation_extension.",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 48,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:46:37",
+ "object_repr": "Blog",
+ "object_id": "2",
+ "change_message": "No fields changed.",
+ "user": 1,
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 47,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:46:35",
+ "object_repr": "Blog",
+ "object_id": "2",
+ "change_message": "Changed ordering.",
+ "user": 1,
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 46,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:46:15",
+ "object_repr": "Blog",
+ "object_id": "6",
+ "change_message": "Changed redirect_to.",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 45,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:46:08",
+ "object_repr": "Blog",
+ "object_id": "6",
+ "change_message": "Changed override_url and redirect_to.",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 44,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:45:36",
+ "object_repr": "Blog",
+ "object_id": "2",
+ "change_message": "",
+ "user": 1,
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 43,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:45:31",
+ "object_repr": "News",
+ "object_id": "1",
+ "change_message": "",
+ "user": 1,
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 42,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 14:37:23",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Changed ordering for twitter feed \"sidebar on Okeanos, ordering 1\". Added video section \"main on Okeanos, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 41,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:17:54",
+ "object_repr": "intro video img hover",
+ "object_id": "6",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 40,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:17:43",
+ "object_repr": "intro video img",
+ "object_id": "5",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 39,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:13:48",
+ "object_repr": "img - teacher with glasses",
+ "object_id": "4",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 38,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:13:36",
+ "object_repr": "img - teacher with book",
+ "object_id": "3",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 37,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-22 14:13:24",
+ "object_repr": "img - noguy",
+ "object_id": "2",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 36,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 13:52:26",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Deleted raw content \"sidebar on Okeanos, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 35,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 13:52:02",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Changed limit for twitter feed \"sidebar on Okeanos, ordering 2\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 34,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-22 13:51:50",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Added twitter feed \"sidebar on Okeanos, ordering 2\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 33,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 16:30:27",
+ "object_repr": "okeanos.cloud.grnet.gr",
+ "object_id": "1",
+ "change_message": "Changed domain and name.",
+ "user": 1,
+ "content_type": 3
+ }
+ },
+ {
+ "pk": 32,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 16:26:49",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Changed text for raw content \"sidebar on Okeanos, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 31,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 16:21:02",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Deleted video \"main on Okeanos, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 30,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 16:00:44",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Added raw content \"sidebar on Okeanos, ordering 1\". Changed action_url for login form \"sidebar on Okeanos, ordering 0\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 29,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:47:32",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Deleted section \"sidebar on Okeanos, ordering 1\". Deleted section \"sidebar on Okeanos, ordering 2\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 28,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:43:24",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Added video \"main on Okeanos, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 27,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:40:56",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Changed ordering for section \"sidebar on Okeanos, ordering 1\". Changed ordering for login form \"sidebar on Okeanos, ordering 0\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 26,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:40:46",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Changed ordering for section \"sidebar on Okeanos, ordering 0\". Changed ordering for section \"sidebar on Okeanos, ordering 2\". Changed ordering for login form \"sidebar on Okeanos, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 25,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:40:37",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Deleted raw content \"sidebar on Okeanos, ordering 2\". Added section \"sidebar on Okeanos, ordering 2\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 24,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:40:15",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Deleted raw content \"sidebar on Okeanos, ordering 1\". Added section \"sidebar on Okeanos, ordering 3\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 23,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:39:28",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Added raw content \"sidebar on Okeanos, ordering 1\". Changed ordering for raw content \"sidebar on Okeanos, ordering 2\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 22,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:37:56",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Added raw content \"sidebar on Okeanos, ordering 1\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 21,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:36:53",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Added login form \"sidebar on Okeanos, ordering 0\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 20,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:35:14",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Added section \"main on Okeanos, ordering 0\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 19,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:34:45",
+ "object_repr": "About",
+ "object_id": "2",
+ "change_message": "Added section \"main on About, ordering 0\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 18,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:28:51",
+ "object_repr": "About",
+ "object_id": "2",
+ "change_message": "Changed override_url and redirect_to.",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 17,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:27:03",
+ "object_repr": "Userguide",
+ "object_id": "11",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 16,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:26:50",
+ "object_repr": "Faq",
+ "object_id": "10",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 15,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:26:35",
+ "object_repr": "Support",
+ "object_id": "9",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 14,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:26:22",
+ "object_repr": "Opensource",
+ "object_id": "8",
+ "change_message": "No fields changed.",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 13,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:26:19",
+ "object_repr": "Opensource",
+ "object_id": "8",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 12,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:26:08",
+ "object_repr": "Resources",
+ "object_id": "7",
+ "change_message": "No fields changed.",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 11,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:26:02",
+ "object_repr": "Resources",
+ "object_id": "7",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 10,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:24:33",
+ "object_repr": "Blog",
+ "object_id": "6",
+ "change_message": "Changed override_url. Added application content \"main on Blog, ordering 0\".",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 9,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:24:16",
+ "object_repr": "Blog",
+ "object_id": "6",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 8,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:24:01",
+ "object_repr": "Why",
+ "object_id": "5",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 7,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:23:56",
+ "object_repr": "What",
+ "object_id": "4",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 6,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:23:48",
+ "object_repr": "Who",
+ "object_id": "3",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 5,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:23:37",
+ "object_repr": "About",
+ "object_id": "2",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 4,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:22:56",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "",
+ "user": 1,
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 3,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 2,
+ "action_time": "2012-02-21 15:22:07",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "Changed twitter_username.",
+ "user": 1,
+ "content_type": 33
+ }
+ },
+ {
+ "pk": 2,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:22:03",
+ "object_repr": "Okeanos",
+ "object_id": "1",
+ "change_message": "",
+ "user": 1,
+ "content_type": 33
+ }
+ },
+ {
+ "pk": 1,
+ "model": "admin.logentry",
+ "fields": {
+ "action_flag": 1,
+ "action_time": "2012-02-21 15:21:46",
+ "object_repr": "image-28_3",
+ "object_id": "1",
+ "change_message": "",
+ "user": 1,
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 1,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "cloudcmsblog",
+ "migration": "0001_initial"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "cloudcmsblog",
+ "migration": "0002_auto__add_field_entry_image"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "cloudcmsblog",
+ "migration": "0003_auto__add_field_entry_intro_text"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "cloudcmsblog",
+ "migration": "0004_auto__add_videocontent__add_templatecontent"
+ }
+ },
+ {
+ "pk": 5,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "cloudcmsblog",
+ "migration": "0005_auto__add_twitterfeed"
+ }
+ },
+ {
+ "pk": 6,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "cloudcmsblog",
+ "migration": "0006_auto__add_field_twitterfeed_title"
+ }
+ },
+ {
+ "pk": 7,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "cloudcmsblog",
+ "migration": "0007_auto__add_field_twitterfeed_avatar"
+ }
+ },
+ {
+ "pk": 8,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "page",
+ "migration": "0001_initial"
+ }
+ },
+ {
+ "pk": 9,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:54",
+ "app_name": "page",
+ "migration": "0002_auto__del_tablecontent__add_twitterfeed"
+ }
+ },
+ {
+ "pk": 10,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:55",
+ "app_name": "page",
+ "migration": "0003_auto__add_field_twitterfeed_title"
+ }
+ },
+ {
+ "pk": 11,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:55",
+ "app_name": "page",
+ "migration": "0004_auto__add_field_twitterfeed_avatar"
+ }
+ },
+ {
+ "pk": 12,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-21 14:36:55",
+ "app_name": "medialibrary",
+ "migration": "0001_initial"
+ }
+ },
+ {
+ "pk": 13,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-22 14:33:06",
+ "app_name": "page",
+ "migration": "0005_auto__add_videosection__del_field_loginform_forgot_password_url"
+ }
+ },
+ {
+ "pk": 14,
+ "model": "south.migrationhistory",
+ "fields": {
+ "applied": "2012-02-22 14:50:49",
+ "app_name": "cloudcmsblog",
+ "migration": "0008_auto__add_rawcontent"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "cloudcmsblog.category",
+ "fields": {
+ "ordering": 5,
+ "display_on_menu": true
+ }
+ },
+ {
+ "pk": 2,
+ "model": "cloudcmsblog.category",
+ "fields": {
+ "ordering": 1,
+ "display_on_menu": true
+ }
+ },
+ {
+ "pk": 3,
+ "model": "cloudcmsblog.category",
+ "fields": {
+ "ordering": 0,
+ "display_on_menu": false
+ }
+ },
+ {
+ "pk": 4,
+ "model": "cloudcmsblog.category",
+ "fields": {
+ "ordering": 0,
+ "display_on_menu": false
+ }
+ },
+ {
+ "pk": 2,
+ "model": "cloudcmsblog.categorytranslation",
+ "fields": {
+ "description": "",
+ "title": "Blog",
+ "slug": "blog",
+ "parent": 2,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "cloudcmsblog.categorytranslation",
+ "fields": {
+ "description": "",
+ "title": "News",
+ "slug": "news",
+ "parent": 1,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "cloudcmsblog.categorytranslation",
+ "fields": {
+ "description": "",
+ "title": "alpha",
+ "slug": "alpha",
+ "parent": 4,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "cloudcmsblog.categorytranslation",
+ "fields": {
+ "description": "",
+ "title": "users",
+ "slug": "users",
+ "parent": 3,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "cloudcmsblog.entry",
+ "fields": {
+ "is_featured": false,
+ "language": "",
+ "author": 1,
+ "intro_text": "",
+ "title": "~okeanos presentation at \"Data Centres Southern Europe and Eastern Mediterranean Regional Forum\"",
+ "is_active": true,
+ "published_on": "2012-02-22 14:58:22",
+ "last_changed": "2012-02-22 14:59:18",
+ "application": [
+ 1
+ ],
+ "image": 7,
+ "slug": "okeanos-presentation-data-centres-southern-europe-and-eastern-mediterranean-regional-forum",
+ "categories": [
+ 1,
+ 3,
+ 4
+ ]
+ }
+ },
+ {
+ "pk": 2,
+ "model": "cloudcmsblog.entry",
+ "fields": {
+ "is_featured": false,
+ "language": "",
+ "author": 1,
+ "intro_text": "Keynote talk on ~okeanos at CloudComm 2011. <a href=\"#\">Click here</a> to download the presentation.",
+ "title": "Keynote talk on ~okeanos at CloudCom 2011",
+ "is_active": true,
+ "published_on": "2012-02-22 14:51:44",
+ "last_changed": "2012-02-22 14:56:10",
+ "application": [
+ 1
+ ],
+ "image": 10,
+ "slug": "keynote-talk-okeanos-cloudcom-2011",
+ "categories": [
+ 1
+ ]
+ }
+ },
+ {
+ "pk": 1,
+ "model": "cloudcmsblog.entry",
+ "fields": {
+ "is_featured": false,
+ "language": "",
+ "author": 1,
+ "intro_text": "Hello alpha testers, \r\n\r\nThe ~okeanos alpha period has just been extended, so you can keep using your ~okeanos resources. All invitations have been extended to be valid until the end of the alpha testing period. \r\n\r\nDue to invitation extending, some users may not see the 'Enter' button on the home page. If not, please click again on the link in your original invitation mail to login. \r\n\r\nIf you encounter any problems, please contact us at support@okeanos.grnet.gr. \r\n\r\nThank you,\r\nThe ~okeanos team",
+ "title": "Do you have an invitation but cannot login?",
+ "is_active": true,
+ "published_on": "2012-02-22 14:49:39",
+ "last_changed": "2012-02-22 14:57:02",
+ "application": [
+ 1
+ ],
+ "image": 8,
+ "slug": "do-you-have-invitation-cannot-login",
+ "categories": [
+ 1,
+ 3,
+ 4
+ ]
+ }
+ },
+ {
+ "pk": 1,
+ "model": "cloudcmsblog.richtextcontent",
+ "fields": {
+ "ordering": 0,
+ "text": "Hello alpha testers, \r\n\r\nThe ~okeanos alpha period has just been extended, so you can keep using your ~okeanos resources. All invitations have been extended to be valid until the end of the alpha testing period. \r\n\r\nDue to invitation extending, some users may not see the 'Enter' button on the home page. If not, please click again on the link in your original invitation mail to login. \r\n\r\nIf you encounter any problems, please contact us at support@okeanos.grnet.gr. \r\n\r\nThank you,\r\nThe ~okeanos team",
+ "region": "main",
+ "parent": 1
+ }
+ },
+ {
+ "pk": 2,
+ "model": "cloudcmsblog.richtextcontent",
+ "fields": {
+ "ordering": 0,
+ "text": "Keynote talk on ~okeanos at CloudComm 2011. <a href=\"#\">Click here</a> to download the presentation.",
+ "region": "main",
+ "parent": 2
+ }
+ },
+ {
+ "pk": 3,
+ "model": "cloudcmsblog.richtextcontent",
+ "fields": {
+ "ordering": 0,
+ "text": "~okeanos presentation at \"Data Centres Southern Europe and Eastern Mediterranean Regional Forum\"",
+ "region": "main",
+ "parent": 3
+ }
+ },
+ {
+ "pk": 10,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_logentry",
+ "name": "Can add log entry",
+ "content_type": 4
+ }
+ },
+ {
+ "pk": 11,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_logentry",
+ "name": "Can change log entry",
+ "content_type": 4
+ }
+ },
+ {
+ "pk": 12,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_logentry",
+ "name": "Can delete log entry",
+ "content_type": 4
+ }
+ },
+ {
+ "pk": 43,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_group",
+ "name": "Can add group",
+ "content_type": 15
+ }
+ },
+ {
+ "pk": 44,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_group",
+ "name": "Can change group",
+ "content_type": 15
+ }
+ },
+ {
+ "pk": 45,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_group",
+ "name": "Can delete group",
+ "content_type": 15
+ }
+ },
+ {
+ "pk": 49,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_message",
+ "name": "Can add message",
+ "content_type": 17
+ }
+ },
+ {
+ "pk": 50,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_message",
+ "name": "Can change message",
+ "content_type": 17
+ }
+ },
+ {
+ "pk": 51,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_message",
+ "name": "Can delete message",
+ "content_type": 17
+ }
+ },
+ {
+ "pk": 40,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_permission",
+ "name": "Can add permission",
+ "content_type": 14
+ }
+ },
+ {
+ "pk": 41,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_permission",
+ "name": "Can change permission",
+ "content_type": 14
+ }
+ },
+ {
+ "pk": 42,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_permission",
+ "name": "Can delete permission",
+ "content_type": 14
+ }
+ },
+ {
+ "pk": 46,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_user",
+ "name": "Can add user",
+ "content_type": 16
+ }
+ },
+ {
+ "pk": 47,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_user",
+ "name": "Can change user",
+ "content_type": 16
+ }
+ },
+ {
+ "pk": 48,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_user",
+ "name": "Can delete user",
+ "content_type": 16
+ }
+ },
+ {
+ "pk": 97,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_application",
+ "name": "Can add application",
+ "content_type": 33
+ }
+ },
+ {
+ "pk": 98,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_application",
+ "name": "Can change application",
+ "content_type": 33
+ }
+ },
+ {
+ "pk": 99,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_application",
+ "name": "Can delete application",
+ "content_type": 33
+ }
+ },
+ {
+ "pk": 16,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_category",
+ "name": "Can add category",
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 17,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_category",
+ "name": "Can change category",
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 18,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_category",
+ "name": "Can delete category",
+ "content_type": 6
+ }
+ },
+ {
+ "pk": 19,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_categorytranslation",
+ "name": "Can add category translation",
+ "content_type": 7
+ }
+ },
+ {
+ "pk": 20,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_categorytranslation",
+ "name": "Can change category translation",
+ "content_type": 7
+ }
+ },
+ {
+ "pk": 21,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_categorytranslation",
+ "name": "Can delete category translation",
+ "content_type": 7
+ }
+ },
+ {
+ "pk": 22,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_entry",
+ "name": "Can add entry",
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 23,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_entry",
+ "name": "Can change entry",
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 24,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_entry",
+ "name": "Can delete entry",
+ "content_type": 8
+ }
+ },
+ {
+ "pk": 103,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_rawcontent",
+ "name": "Can add raw content",
+ "content_type": 35
+ }
+ },
+ {
+ "pk": 104,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_rawcontent",
+ "name": "Can change raw content",
+ "content_type": 35
+ }
+ },
+ {
+ "pk": 105,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_rawcontent",
+ "name": "Can delete raw content",
+ "content_type": 35
+ }
+ },
+ {
+ "pk": 25,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_richtextcontent",
+ "name": "Can add rich text",
+ "content_type": 9
+ }
+ },
+ {
+ "pk": 26,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_richtextcontent",
+ "name": "Can change rich text",
+ "content_type": 9
+ }
+ },
+ {
+ "pk": 27,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_richtextcontent",
+ "name": "Can delete rich text",
+ "content_type": 9
+ }
+ },
+ {
+ "pk": 37,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_sectioncontent",
+ "name": "Can add section",
+ "content_type": 13
+ }
+ },
+ {
+ "pk": 38,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_sectioncontent",
+ "name": "Can change section",
+ "content_type": 13
+ }
+ },
+ {
+ "pk": 39,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_sectioncontent",
+ "name": "Can delete section",
+ "content_type": 13
+ }
+ },
+ {
+ "pk": 28,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_templatecontent",
+ "name": "Can add template content",
+ "content_type": 10
+ }
+ },
+ {
+ "pk": 29,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_templatecontent",
+ "name": "Can change template content",
+ "content_type": 10
+ }
+ },
+ {
+ "pk": 30,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_templatecontent",
+ "name": "Can delete template content",
+ "content_type": 10
+ }
+ },
+ {
+ "pk": 34,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_twitterfeed",
+ "name": "Can add twitter feed",
+ "content_type": 12
+ }
+ },
+ {
+ "pk": 35,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_twitterfeed",
+ "name": "Can change twitter feed",
+ "content_type": 12
+ }
+ },
+ {
+ "pk": 36,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_twitterfeed",
+ "name": "Can delete twitter feed",
+ "content_type": 12
+ }
+ },
+ {
+ "pk": 31,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_videocontent",
+ "name": "Can add video",
+ "content_type": 11
+ }
+ },
+ {
+ "pk": 32,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_videocontent",
+ "name": "Can change video",
+ "content_type": 11
+ }
+ },
+ {
+ "pk": 33,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_videocontent",
+ "name": "Can delete video",
+ "content_type": 11
+ }
+ },
+ {
+ "pk": 1,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_contenttype",
+ "name": "Can add content type",
+ "content_type": 1
+ }
+ },
+ {
+ "pk": 2,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_contenttype",
+ "name": "Can change content type",
+ "content_type": 1
+ }
+ },
+ {
+ "pk": 3,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_contenttype",
+ "name": "Can delete content type",
+ "content_type": 1
+ }
+ },
+ {
+ "pk": 88,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_category",
+ "name": "Can add category",
+ "content_type": 30
+ }
+ },
+ {
+ "pk": 89,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_category",
+ "name": "Can change category",
+ "content_type": 30
+ }
+ },
+ {
+ "pk": 90,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_category",
+ "name": "Can delete category",
+ "content_type": 30
+ }
+ },
+ {
+ "pk": 91,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_mediafile",
+ "name": "Can add media file",
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 92,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_mediafile",
+ "name": "Can change media file",
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 93,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_mediafile",
+ "name": "Can delete media file",
+ "content_type": 31
+ }
+ },
+ {
+ "pk": 94,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_mediafiletranslation",
+ "name": "Can add media file translation",
+ "content_type": 32
+ }
+ },
+ {
+ "pk": 95,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_mediafiletranslation",
+ "name": "Can change media file translation",
+ "content_type": 32
+ }
+ },
+ {
+ "pk": 96,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_mediafiletranslation",
+ "name": "Can delete media file translation",
+ "content_type": 32
+ }
+ },
+ {
+ "pk": 85,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_aboutblock",
+ "name": "Can add about page block",
+ "content_type": 29
+ }
+ },
+ {
+ "pk": 86,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_aboutblock",
+ "name": "Can change about page block",
+ "content_type": 29
+ }
+ },
+ {
+ "pk": 87,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_aboutblock",
+ "name": "Can delete about page block",
+ "content_type": 29
+ }
+ },
+ {
+ "pk": 79,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_applicationcontent",
+ "name": "Can add application content",
+ "content_type": 27
+ }
+ },
+ {
+ "pk": 80,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_applicationcontent",
+ "name": "Can change application content",
+ "content_type": 27
+ }
+ },
+ {
+ "pk": 81,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_applicationcontent",
+ "name": "Can delete application content",
+ "content_type": 27
+ }
+ },
+ {
+ "pk": 73,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_imagecontent",
+ "name": "Can add image",
+ "content_type": 25
+ }
+ },
+ {
+ "pk": 74,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_imagecontent",
+ "name": "Can change image",
+ "content_type": 25
+ }
+ },
+ {
+ "pk": 75,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_imagecontent",
+ "name": "Can delete image",
+ "content_type": 25
+ }
+ },
+ {
+ "pk": 82,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_loginform",
+ "name": "Can add login form",
+ "content_type": 28
+ }
+ },
+ {
+ "pk": 83,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_loginform",
+ "name": "Can change login form",
+ "content_type": 28
+ }
+ },
+ {
+ "pk": 84,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_loginform",
+ "name": "Can delete login form",
+ "content_type": 28
+ }
+ },
+ {
+ "pk": 76,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_mediafilecontent",
+ "name": "Can add media file",
+ "content_type": 26
+ }
+ },
+ {
+ "pk": 77,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_mediafilecontent",
+ "name": "Can change media file",
+ "content_type": 26
+ }
+ },
+ {
+ "pk": 78,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_mediafilecontent",
+ "name": "Can delete media file",
+ "content_type": 26
+ }
+ },
+ {
+ "pk": 52,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_page",
+ "name": "Can add page",
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 53,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_page",
+ "name": "Can change page",
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 54,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_page",
+ "name": "Can delete page",
+ "content_type": 18
+ }
+ },
+ {
+ "pk": 58,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_rawcontent",
+ "name": "Can add raw content",
+ "content_type": 20
+ }
+ },
+ {
+ "pk": 59,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_rawcontent",
+ "name": "Can change raw content",
+ "content_type": 20
+ }
+ },
+ {
+ "pk": 60,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_rawcontent",
+ "name": "Can delete raw content",
+ "content_type": 20
+ }
+ },
+ {
+ "pk": 55,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_richtextcontent",
+ "name": "Can add rich text",
+ "content_type": 19
+ }
+ },
+ {
+ "pk": 56,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_richtextcontent",
+ "name": "Can change rich text",
+ "content_type": 19
+ }
+ },
+ {
+ "pk": 57,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_richtextcontent",
+ "name": "Can delete rich text",
+ "content_type": 19
+ }
+ },
+ {
+ "pk": 61,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_sectioncontent",
+ "name": "Can add section",
+ "content_type": 21
+ }
+ },
+ {
+ "pk": 62,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_sectioncontent",
+ "name": "Can change section",
+ "content_type": 21
+ }
+ },
+ {
+ "pk": 63,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_sectioncontent",
+ "name": "Can delete section",
+ "content_type": 21
+ }
+ },
+ {
+ "pk": 64,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_templatecontent",
+ "name": "Can add template content",
+ "content_type": 22
+ }
+ },
+ {
+ "pk": 65,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_templatecontent",
+ "name": "Can change template content",
+ "content_type": 22
+ }
+ },
+ {
+ "pk": 66,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_templatecontent",
+ "name": "Can delete template content",
+ "content_type": 22
+ }
+ },
+ {
+ "pk": 67,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_twitterfeed",
+ "name": "Can add twitter feed",
+ "content_type": 23
+ }
+ },
+ {
+ "pk": 68,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_twitterfeed",
+ "name": "Can change twitter feed",
+ "content_type": 23
+ }
+ },
+ {
+ "pk": 69,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_twitterfeed",
+ "name": "Can delete twitter feed",
+ "content_type": 23
+ }
+ },
+ {
+ "pk": 70,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_videocontent",
+ "name": "Can add video",
+ "content_type": 24
+ }
+ },
+ {
+ "pk": 71,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_videocontent",
+ "name": "Can change video",
+ "content_type": 24
+ }
+ },
+ {
+ "pk": 72,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_videocontent",
+ "name": "Can delete video",
+ "content_type": 24
+ }
+ },
+ {
+ "pk": 100,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_videosection",
+ "name": "Can add video section",
+ "content_type": 34
+ }
+ },
+ {
+ "pk": 101,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_videosection",
+ "name": "Can change video section",
+ "content_type": 34
+ }
+ },
+ {
+ "pk": 102,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_videosection",
+ "name": "Can delete video section",
+ "content_type": 34
+ }
+ },
+ {
+ "pk": 4,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_session",
+ "name": "Can add session",
+ "content_type": 2
+ }
+ },
+ {
+ "pk": 5,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_session",
+ "name": "Can change session",
+ "content_type": 2
+ }
+ },
+ {
+ "pk": 6,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_session",
+ "name": "Can delete session",
+ "content_type": 2
+ }
+ },
+ {
+ "pk": 7,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_site",
+ "name": "Can add site",
+ "content_type": 3
+ }
+ },
+ {
+ "pk": 8,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_site",
+ "name": "Can change site",
+ "content_type": 3
+ }
+ },
+ {
+ "pk": 9,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_site",
+ "name": "Can delete site",
+ "content_type": 3
+ }
+ },
+ {
+ "pk": 13,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "add_migrationhistory",
+ "name": "Can add migration history",
+ "content_type": 5
+ }
+ },
+ {
+ "pk": 14,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "change_migrationhistory",
+ "name": "Can change migration history",
+ "content_type": 5
+ }
+ },
+ {
+ "pk": 15,
+ "model": "auth.permission",
+ "fields": {
+ "codename": "delete_migrationhistory",
+ "name": "Can delete migration history",
+ "content_type": 5
+ }
+ },
+ {
+ "pk": 1,
+ "model": "auth.user",
+ "fields": {
+ "username": "admin",
+ "first_name": "",
+ "last_name": "",
+ "is_active": true,
+ "is_superuser": true,
+ "is_staff": true,
+ "last_login": "2012-02-21 15:11:19",
+ "groups": [],
+ "user_permissions": [],
+ "password": "sha1$a91fe$0c2af6472d8e2486b827c1274922f630d73e72ab",
+ "email": "admin@admin.com",
+ "date_joined": "2012-02-21 14:36:30"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "page.page",
+ "fields": {
+ "rght": 22,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "/",
+ "creation_date": "2012-02-21 15:22:56",
+ "lft": 1,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-22 14:37:23",
+ "title": "Okeanos",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": null,
+ "template_key": "intro",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "okeanos",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 0,
+ "_content_title": "",
+ "_cached_url": "/"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "page.page",
+ "fields": {
+ "rght": 9,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:23:36",
+ "lft": 2,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-21 15:34:45",
+ "title": "About",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 1,
+ "template_key": "singlecol",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "about",
+ "language": "en",
+ "redirect_to": "/about/who/",
+ "_page_title": "",
+ "level": 1,
+ "_content_title": "",
+ "_cached_url": "/about/"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "page.page",
+ "fields": {
+ "rght": 4,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:23:48",
+ "lft": 3,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-22 15:12:53",
+ "title": "Who",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 2,
+ "template_key": "singlecol",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "who",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "Page title 1",
+ "level": 2,
+ "_content_title": "Content title",
+ "_cached_url": "/about/who/"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "page.page",
+ "fields": {
+ "rght": 6,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:23:56",
+ "lft": 5,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-21 15:28:51",
+ "title": "What",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 2,
+ "template_key": "singlecol",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "what",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 2,
+ "_content_title": "",
+ "_cached_url": "/about/what/"
+ }
+ },
+ {
+ "pk": 5,
+ "model": "page.page",
+ "fields": {
+ "rght": 8,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:24:00",
+ "lft": 7,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-21 15:28:51",
+ "title": "Why",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 2,
+ "template_key": "singlecol",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "why",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 2,
+ "_content_title": "",
+ "_cached_url": "/about/why/"
+ }
+ },
+ {
+ "pk": 6,
+ "model": "page.page",
+ "fields": {
+ "rght": 11,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:24:15",
+ "lft": 10,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": "cloudcmsblog.models.BlogCategoriesNavigationExtension",
+ "modification_date": "2012-02-22 14:49:06",
+ "title": "Blog",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 1,
+ "template_key": "blog",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "blog",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 1,
+ "_content_title": "",
+ "_cached_url": "/blog/"
+ }
+ },
+ {
+ "pk": 7,
+ "model": "page.page",
+ "fields": {
+ "rght": 13,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:26:02",
+ "lft": 12,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-21 15:26:08",
+ "title": "Resources",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 1,
+ "template_key": "basic",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "resources",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 1,
+ "_content_title": "",
+ "_cached_url": "/resources/"
+ }
+ },
+ {
+ "pk": 8,
+ "model": "page.page",
+ "fields": {
+ "rght": 15,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:26:19",
+ "lft": 14,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-21 15:26:22",
+ "title": "Opensource",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 1,
+ "template_key": "twocolwide",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "opensource",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 1,
+ "_content_title": "",
+ "_cached_url": "/opensource/"
+ }
+ },
+ {
+ "pk": 9,
+ "model": "page.page",
+ "fields": {
+ "rght": 21,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:26:35",
+ "lft": 16,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-21 15:26:35",
+ "title": "Support",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 1,
+ "template_key": "intro",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "support",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 1,
+ "_content_title": "",
+ "_cached_url": "/support/"
+ }
+ },
+ {
+ "pk": 10,
+ "model": "page.page",
+ "fields": {
+ "rght": 18,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:26:50",
+ "lft": 17,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-21 15:26:50",
+ "title": "Faq",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 9,
+ "template_key": "intro",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "faq",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 2,
+ "_content_title": "",
+ "_cached_url": "/support/faq/"
+ }
+ },
+ {
+ "pk": 11,
+ "model": "page.page",
+ "fields": {
+ "rght": 20,
+ "meta_keywords": "",
+ "site": 1,
+ "override_url": "",
+ "creation_date": "2012-02-21 15:27:03",
+ "lft": 19,
+ "in_navigation": true,
+ "meta_description": "",
+ "navigation_extension": null,
+ "modification_date": "2012-02-21 15:27:03",
+ "title": "Userguide",
+ "translation_of": null,
+ "symlinked_page": null,
+ "publication_end_date": null,
+ "tree_id": 1,
+ "parent": 9,
+ "template_key": "intro",
+ "active": true,
+ "publication_date": "2012-02-21 15:20:00",
+ "slug": "userguide",
+ "language": "en",
+ "redirect_to": "",
+ "_page_title": "",
+ "level": 2,
+ "_content_title": "",
+ "_cached_url": "/support/userguide/"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "page.sectioncontent",
+ "fields": {
+ "parent": 2,
+ "title": "WHAT IS THIS ?",
+ "ordering": 0,
+ "region": "main",
+ "richtext": "~okeanos is a brand new IaaS Service. \r\n\"IaaS\" stands for \"Infrastracture as a Service\", but what does it really mean?\r\n\r\nIt means that you can build your own computer, always connected to the Internet, without worrying about hardware failures, spaghetti cables, connectivity hiccups and software troubles.",
+ "mediafile": null,
+ "type": "block"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "page.sectioncontent",
+ "fields": {
+ "parent": 1,
+ "title": "WHAT IS THIS ?",
+ "ordering": 0,
+ "region": "main",
+ "richtext": "With ~okeanos you are one click away from your own Virtual Machines and Virtual Networks: You can manage them, destroy them, connect to them and take a handful of other actions, all from inside your favorite web browser.",
+ "mediafile": null,
+ "type": "block"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "page.twitterfeed",
+ "fields": {
+ "account": "devops_borat",
+ "parent": 6,
+ "nots": "",
+ "title": "YOU CAN ALSO FOLLOW US ON <a href=\"\">TWITTER</a>",
+ "ordering": 0,
+ "region": "sidebar",
+ "extra_params": "",
+ "tag": "",
+ "limit": 5,
+ "retweets": true,
+ "replies": true,
+ "query": "",
+ "avatar": false
+ }
+ },
+ {
+ "pk": 1,
+ "model": "page.twitterfeed",
+ "fields": {
+ "account": "primeministergr",
+ "parent": 1,
+ "nots": "",
+ "title": "TWITTER",
+ "ordering": 1,
+ "region": "sidebar",
+ "extra_params": "",
+ "tag": "",
+ "limit": 4,
+ "retweets": true,
+ "replies": true,
+ "query": "",
+ "avatar": false
+ }
+ },
+ {
+ "pk": 1,
+ "model": "page.videosection",
+ "fields": {
+ "image_hover": 5,
+ "extra_url_params": "test=1",
+ "parent": 1,
+ "section_title": "WATCH THE VIDEO",
+ "ordering": 1,
+ "image": 6,
+ "alt_text": "watch ~okeanos video",
+ "video_height": 550,
+ "video_link": "https://player.vimeo.com/video/26579413",
+ "region": "main",
+ "video_width": 700,
+ "video_title": "~okeanos"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "page.applicationcontent",
+ "fields": {
+ "ordering": 0,
+ "region": "main",
+ "parent": 6,
+ "parameters": "",
+ "urlconf_path": "cloudcmsblog"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "page.loginform",
+ "fields": {
+ "parent": 1,
+ "title": "LOGIN",
+ "ordering": 0,
+ "region": "sidebar",
+ "action_url": "https://accounts.cloud.local/im/",
+ "display_forgot_password": true,
+ "next_url": "https://app.okeanos.cloud.local/ui"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "page.aboutblock",
+ "fields": {
+ "parent": 3,
+ "title": "So, what is this ~okeanos thing?",
+ "color": "#338899",
+ "image": 3,
+ "offset_top": null,
+ "offset_left": null,
+ "content": "~okeanos is a brand new IaaS Service. \r\n\"IaaS\" stands for \"Infrastracture as a Service\", but what does it really mean?\r\n\r\nIt means that you can build your own computer, always connected to the Internet, without worrying about hardware failures, spaghetti cables, connectivity hiccups and software troubles.\r\n\r\nWith ~okeanos you are one click away from your own Virtual Machines and Virtual Networks: You can manage them, destroy them, connect to them and take a handful of other actions, all from inside your favorite web browser.",
+ "ordering": 0,
+ "image_position": "left",
+ "region": "main"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "page.aboutblock",
+ "fields": {
+ "parent": 3,
+ "title": "Think about it",
+ "color": "#DD9900",
+ "image": 4,
+ "offset_top": 40,
+ "offset_left": null,
+ "content": "You wake up one morning and you need a new computer with a specific operating system and hardware requirements (or 10 new computers :-) ).",
+ "ordering": 1,
+ "image_position": "right",
+ "region": "main"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "page.aboutblock",
+ "fields": {
+ "parent": 3,
+ "title": "Until today you would probably",
+ "color": "#D238FF",
+ "image": 2,
+ "offset_top": null,
+ "offset_left": null,
+ "content": "Go out shopping, buy/order a new PC, wait shipping to your place, unpack, connect cables, connect to the network, setup your installation, pray all went well and start after a few hours (hopefully).",
+ "ordering": 2,
+ "image_position": "top",
+ "region": "main"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "page.aboutblock",
+ "fields": {
+ "parent": 3,
+ "title": "Until today you would probably",
+ "color": "#FF6633",
+ "image": 4,
+ "offset_top": 60,
+ "offset_left": 88,
+ "content": "Go out shopping, buy/order a new PC, wait shipping to your place, unpack, connect cables, connect to the network, setup your installation, pray all went well and start after a few hours (hopefully).",
+ "ordering": 3,
+ "image_position": "top",
+ "region": "main"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-21 15:21:46",
+ "file": "medialibrary/2012/02/image-28_3",
+ "file_size": 2550,
+ "type": "other",
+ "categories": []
+ }
+ },
+ {
+ "pk": 2,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:13:24",
+ "file": "medialibrary/2012/02/illust_okeanos-01_2.png",
+ "file_size": 6038,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 3,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:13:36",
+ "file": "medialibrary/2012/02/illust_okeanos-02_2.png",
+ "file_size": 5892,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 4,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:13:47",
+ "file": "medialibrary/2012/02/illust_okeanos-03_3.png",
+ "file_size": 5428,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 5,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:17:43",
+ "file": "medialibrary/2012/02/video-placeholder.png",
+ "file_size": 13623,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 6,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:17:54",
+ "file": "medialibrary/2012/02/video-placeholder2.png",
+ "file_size": 12158,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 7,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:54:49",
+ "file": "medialibrary/2012/02/1279333918Bc4iNE.jpg",
+ "file_size": 35390,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 8,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:55:05",
+ "file": "medialibrary/2012/02/1217560242770lAo.jpg",
+ "file_size": 43418,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 9,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:55:49",
+ "file": "medialibrary/2012/02/1289361917QLP4Km.jpg",
+ "file_size": 35654,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 10,
+ "model": "medialibrary.mediafile",
+ "fields": {
+ "copyright": "",
+ "created": "2012-02-22 14:56:02",
+ "file": "medialibrary/2012/02/119099432979u53x.jpg",
+ "file_size": 31297,
+ "type": "image",
+ "categories": []
+ }
+ },
+ {
+ "pk": 1,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "img - noguy",
+ "description": "",
+ "parent": 2,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 2,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "img - teacher with book",
+ "description": "",
+ "parent": 3,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "img - teacher with glasses",
+ "description": "",
+ "parent": 4,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 4,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "intro video img",
+ "description": "",
+ "parent": 5,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 5,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "intro video img hover",
+ "description": "",
+ "parent": 6,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 6,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "stock - woman with ipad",
+ "description": "",
+ "parent": 7,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 7,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "stock - notepad on laptop",
+ "description": "",
+ "parent": 8,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 8,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "stock -abstract",
+ "description": "",
+ "parent": 9,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 9,
+ "model": "medialibrary.mediafiletranslation",
+ "fields": {
+ "caption": "stock - many pcs",
+ "description": "",
+ "parent": 10,
+ "language_code": "en"
+ }
+ },
+ {
+ "pk": 1,
+ "model": "cloudcms.application",
+ "fields": {
+ "app_url": "https://app.okeanos.cloud.local/",
+ "code": "okeanos",
+ "title": "Okeanos",
+ "linked_in_username": "",
+ "site": 1,
+ "facebook_username": "",
+ "twitter_username": "okeanos",
+ "logo": 1,
+ "show_twitter_feed_on_top": false
+ }
+ }
+]
\ No newline at end of file
--- /dev/null
+#!python
+"""Bootstrap distribute installation
+
+If you want to use setuptools in your package's setup.py, just include this
+file in the same directory with it, and add this to the top of your setup.py::
+
+ from distribute_setup import use_setuptools
+ use_setuptools()
+
+If you want to require a specific version of setuptools, set a download
+mirror, or use an alternate download directory, you can do so by supplying
+the appropriate options to ``use_setuptools()``.
+
+This file can also be run as a script to install or upgrade setuptools.
+"""
+import os
+import sys
+import time
+import fnmatch
+import tempfile
+import tarfile
+from distutils import log
+
+try:
+ from site import USER_SITE
+except ImportError:
+ USER_SITE = None
+
+try:
+ import subprocess
+
+ def _python_cmd(*args):
+ args = (sys.executable,) + args
+ return subprocess.call(args) == 0
+
+except ImportError:
+ # will be used for python 2.3
+ def _python_cmd(*args):
+ args = (sys.executable,) + args
+ # quoting arguments if windows
+ if sys.platform == 'win32':
+ def quote(arg):
+ if ' ' in arg:
+ return '"%s"' % arg
+ return arg
+ args = [quote(arg) for arg in args]
+ return os.spawnl(os.P_WAIT, sys.executable, *args) == 0
+
+DEFAULT_VERSION = "0.6.10"
+DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/"
+SETUPTOOLS_FAKED_VERSION = "0.6c11"
+
+SETUPTOOLS_PKG_INFO = """\
+Metadata-Version: 1.0
+Name: setuptools
+Version: %s
+Summary: xxxx
+Home-page: xxx
+Author: xxx
+Author-email: xxx
+License: xxx
+Description: xxx
+""" % SETUPTOOLS_FAKED_VERSION
+
+
+def _install(tarball):
+ # extracting the tarball
+ tmpdir = tempfile.mkdtemp()
+ log.warn('Extracting in %s', tmpdir)
+ old_wd = os.getcwd()
+ try:
+ os.chdir(tmpdir)
+ tar = tarfile.open(tarball)
+ _extractall(tar)
+ tar.close()
+
+ # going in the directory
+ subdir = os.path.join(tmpdir, os.listdir(tmpdir)[0])
+ os.chdir(subdir)
+ log.warn('Now working in %s', subdir)
+
+ # installing
+ log.warn('Installing Distribute')
+ if not _python_cmd('setup.py', 'install'):
+ log.warn('Something went wrong during the installation.')
+ log.warn('See the error message above.')
+ finally:
+ os.chdir(old_wd)
+
+
+def _build_egg(egg, tarball, to_dir):
+ # extracting the tarball
+ tmpdir = tempfile.mkdtemp()
+ log.warn('Extracting in %s', tmpdir)
+ old_wd = os.getcwd()
+ try:
+ os.chdir(tmpdir)
+ tar = tarfile.open(tarball)
+ _extractall(tar)
+ tar.close()
+
+ # going in the directory
+ subdir = os.path.join(tmpdir, os.listdir(tmpdir)[0])
+ os.chdir(subdir)
+ log.warn('Now working in %s', subdir)
+
+ # building an egg
+ log.warn('Building a Distribute egg in %s', to_dir)
+ _python_cmd('setup.py', '-q', 'bdist_egg', '--dist-dir', to_dir)
+
+ finally:
+ os.chdir(old_wd)
+ # returning the result
+ log.warn(egg)
+ if not os.path.exists(egg):
+ raise IOError('Could not build the egg.')
+
+
+def _do_download(version, download_base, to_dir, download_delay):
+ egg = os.path.join(to_dir, 'distribute-%s-py%d.%d.egg'
+ % (version, sys.version_info[0], sys.version_info[1]))
+ if not os.path.exists(egg):
+ tarball = download_setuptools(version, download_base,
+ to_dir, download_delay)
+ _build_egg(egg, tarball, to_dir)
+ sys.path.insert(0, egg)
+ import setuptools
+ setuptools.bootstrap_install_from = egg
+
+
+def use_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
+ to_dir=os.curdir, download_delay=15, no_fake=True):
+ # making sure we use the absolute path
+ to_dir = os.path.abspath(to_dir)
+ was_imported = 'pkg_resources' in sys.modules or \
+ 'setuptools' in sys.modules
+ try:
+ try:
+ import pkg_resources
+ if not hasattr(pkg_resources, '_distribute'):
+ if not no_fake:
+ _fake_setuptools()
+ raise ImportError
+ except ImportError:
+ return _do_download(version, download_base, to_dir, download_delay)
+ try:
+ pkg_resources.require("distribute>="+version)
+ return
+ except pkg_resources.VersionConflict:
+ e = sys.exc_info()[1]
+ if was_imported:
+ sys.stderr.write(
+ "The required version of distribute (>=%s) is not available,\n"
+ "and can't be installed while this script is running. Please\n"
+ "install a more recent version first, using\n"
+ "'easy_install -U distribute'."
+ "\n\n(Currently using %r)\n" % (version, e.args[0]))
+ sys.exit(2)
+ else:
+ del pkg_resources, sys.modules['pkg_resources'] # reload ok
+ return _do_download(version, download_base, to_dir,
+ download_delay)
+ except pkg_resources.DistributionNotFound:
+ return _do_download(version, download_base, to_dir,
+ download_delay)
+ finally:
+ if not no_fake:
+ _create_fake_setuptools_pkg_info(to_dir)
+
+def download_setuptools(version=DEFAULT_VERSION, download_base=DEFAULT_URL,
+ to_dir=os.curdir, delay=15):
+ """Download distribute from a specified location and return its filename
+
+ `version` should be a valid distribute version number that is available
+ as an egg for download under the `download_base` URL (which should end
+ with a '/'). `to_dir` is the directory where the egg will be downloaded.
+ `delay` is the number of seconds to pause before an actual download
+ attempt.
+ """
+ # making sure we use the absolute path
+ to_dir = os.path.abspath(to_dir)
+ try:
+ from urllib.request import urlopen
+ except ImportError:
+ from urllib2 import urlopen
+ tgz_name = "distribute-%s.tar.gz" % version
+ url = download_base + tgz_name
+ saveto = os.path.join(to_dir, tgz_name)
+ src = dst = None
+ if not os.path.exists(saveto): # Avoid repeated downloads
+ try:
+ log.warn("Downloading %s", url)
+ src = urlopen(url)
+ # Read/write all in one block, so we don't create a corrupt file
+ # if the download is interrupted.
+ data = src.read()
+ dst = open(saveto, "wb")
+ dst.write(data)
+ finally:
+ if src:
+ src.close()
+ if dst:
+ dst.close()
+ return os.path.realpath(saveto)
+
+def _no_sandbox(function):
+ def __no_sandbox(*args, **kw):
+ try:
+ from setuptools.sandbox import DirectorySandbox
+ if not hasattr(DirectorySandbox, '_old'):
+ def violation(*args):
+ pass
+ DirectorySandbox._old = DirectorySandbox._violation
+ DirectorySandbox._violation = violation
+ patched = True
+ else:
+ patched = False
+ except ImportError:
+ patched = False
+
+ try:
+ return function(*args, **kw)
+ finally:
+ if patched:
+ DirectorySandbox._violation = DirectorySandbox._old
+ del DirectorySandbox._old
+
+ return __no_sandbox
+
+def _patch_file(path, content):
+ """Will backup the file then patch it"""
+ existing_content = open(path).read()
+ if existing_content == content:
+ # already patched
+ log.warn('Already patched.')
+ return False
+ log.warn('Patching...')
+ _rename_path(path)
+ f = open(path, 'w')
+ try:
+ f.write(content)
+ finally:
+ f.close()
+ return True
+
+_patch_file = _no_sandbox(_patch_file)
+
+def _same_content(path, content):
+ return open(path).read() == content
+
+def _rename_path(path):
+ new_name = path + '.OLD.%s' % time.time()
+ log.warn('Renaming %s into %s', path, new_name)
+ os.rename(path, new_name)
+ return new_name
+
+def _remove_flat_installation(placeholder):
+ if not os.path.isdir(placeholder):
+ log.warn('Unkown installation at %s', placeholder)
+ return False
+ found = False
+ for file in os.listdir(placeholder):
+ if fnmatch.fnmatch(file, 'setuptools*.egg-info'):
+ found = True
+ break
+ if not found:
+ log.warn('Could not locate setuptools*.egg-info')
+ return
+
+ log.warn('Removing elements out of the way...')
+ pkg_info = os.path.join(placeholder, file)
+ if os.path.isdir(pkg_info):
+ patched = _patch_egg_dir(pkg_info)
+ else:
+ patched = _patch_file(pkg_info, SETUPTOOLS_PKG_INFO)
+
+ if not patched:
+ log.warn('%s already patched.', pkg_info)
+ return False
+ # now let's move the files out of the way
+ for element in ('setuptools', 'pkg_resources.py', 'site.py'):
+ element = os.path.join(placeholder, element)
+ if os.path.exists(element):
+ _rename_path(element)
+ else:
+ log.warn('Could not find the %s element of the '
+ 'Setuptools distribution', element)
+ return True
+
+_remove_flat_installation = _no_sandbox(_remove_flat_installation)
+
+def _after_install(dist):
+ log.warn('After install bootstrap.')
+ placeholder = dist.get_command_obj('install').install_purelib
+ _create_fake_setuptools_pkg_info(placeholder)
+
+def _create_fake_setuptools_pkg_info(placeholder):
+ if not placeholder or not os.path.exists(placeholder):
+ log.warn('Could not find the install location')
+ return
+ pyver = '%s.%s' % (sys.version_info[0], sys.version_info[1])
+ setuptools_file = 'setuptools-%s-py%s.egg-info' % \
+ (SETUPTOOLS_FAKED_VERSION, pyver)
+ pkg_info = os.path.join(placeholder, setuptools_file)
+ if os.path.exists(pkg_info):
+ log.warn('%s already exists', pkg_info)
+ return
+
+ log.warn('Creating %s', pkg_info)
+ f = open(pkg_info, 'w')
+ try:
+ f.write(SETUPTOOLS_PKG_INFO)
+ finally:
+ f.close()
+
+ pth_file = os.path.join(placeholder, 'setuptools.pth')
+ log.warn('Creating %s', pth_file)
+ f = open(pth_file, 'w')
+ try:
+ f.write(os.path.join(os.curdir, setuptools_file))
+ finally:
+ f.close()
+
+_create_fake_setuptools_pkg_info = _no_sandbox(_create_fake_setuptools_pkg_info)
+
+def _patch_egg_dir(path):
+ # let's check if it's already patched
+ pkg_info = os.path.join(path, 'EGG-INFO', 'PKG-INFO')
+ if os.path.exists(pkg_info):
+ if _same_content(pkg_info, SETUPTOOLS_PKG_INFO):
+ log.warn('%s already patched.', pkg_info)
+ return False
+ _rename_path(path)
+ os.mkdir(path)
+ os.mkdir(os.path.join(path, 'EGG-INFO'))
+ pkg_info = os.path.join(path, 'EGG-INFO', 'PKG-INFO')
+ f = open(pkg_info, 'w')
+ try:
+ f.write(SETUPTOOLS_PKG_INFO)
+ finally:
+ f.close()
+ return True
+
+_patch_egg_dir = _no_sandbox(_patch_egg_dir)
+
+def _before_install():
+ log.warn('Before install bootstrap.')
+ _fake_setuptools()
+
+
+def _under_prefix(location):
+ if 'install' not in sys.argv:
+ return True
+ args = sys.argv[sys.argv.index('install')+1:]
+ for index, arg in enumerate(args):
+ for option in ('--root', '--prefix'):
+ if arg.startswith('%s=' % option):
+ top_dir = arg.split('root=')[-1]
+ return location.startswith(top_dir)
+ elif arg == option:
+ if len(args) > index:
+ top_dir = args[index+1]
+ return location.startswith(top_dir)
+ if arg == '--user' and USER_SITE is not None:
+ return location.startswith(USER_SITE)
+ return True
+
+
+def _fake_setuptools():
+ log.warn('Scanning installed packages')
+ try:
+ import pkg_resources
+ except ImportError:
+ # we're cool
+ log.warn('Setuptools or Distribute does not seem to be installed.')
+ return
+ ws = pkg_resources.working_set
+ try:
+ setuptools_dist = ws.find(pkg_resources.Requirement.parse('setuptools',
+ replacement=False))
+ except TypeError:
+ # old distribute API
+ setuptools_dist = ws.find(pkg_resources.Requirement.parse('setuptools'))
+
+ if setuptools_dist is None:
+ log.warn('No setuptools distribution found')
+ return
+ # detecting if it was already faked
+ setuptools_location = setuptools_dist.location
+ log.warn('Setuptools installation detected at %s', setuptools_location)
+
+ # if --root or --preix was provided, and if
+ # setuptools is not located in them, we don't patch it
+ if not _under_prefix(setuptools_location):
+ log.warn('Not patching, --root or --prefix is installing Distribute'
+ ' in another location')
+ return
+
+ # let's see if its an egg
+ if not setuptools_location.endswith('.egg'):
+ log.warn('Non-egg installation')
+ res = _remove_flat_installation(setuptools_location)
+ if not res:
+ return
+ else:
+ log.warn('Egg installation')
+ pkg_info = os.path.join(setuptools_location, 'EGG-INFO', 'PKG-INFO')
+ if (os.path.exists(pkg_info) and
+ _same_content(pkg_info, SETUPTOOLS_PKG_INFO)):
+ log.warn('Already patched.')
+ return
+ log.warn('Patching...')
+ # let's create a fake egg replacing setuptools one
+ res = _patch_egg_dir(setuptools_location)
+ if not res:
+ return
+ log.warn('Patched done.')
+ _relaunch()
+
+
+def _relaunch():
+ log.warn('Relaunching...')
+ # we have to relaunch the process
+ # pip marker to avoid a relaunch bug
+ if sys.argv[:3] == ['-c', 'install', '--single-version-externally-managed']:
+ sys.argv[0] = 'setup.py'
+ args = [sys.executable] + sys.argv
+ sys.exit(subprocess.call(args))
+
+
+def _extractall(self, path=".", members=None):
+ """Extract all members from the archive to the current working
+ directory and set owner, modification time and permissions on
+ directories afterwards. `path' specifies a different directory
+ to extract to. `members' is optional and must be a subset of the
+ list returned by getmembers().
+ """
+ import copy
+ import operator
+ from tarfile import ExtractError
+ directories = []
+
+ if members is None:
+ members = self
+
+ for tarinfo in members:
+ if tarinfo.isdir():
+ # Extract directories with a safe mode.
+ directories.append(tarinfo)
+ tarinfo = copy.copy(tarinfo)
+ tarinfo.mode = 448 # decimal for oct 0700
+ self.extract(tarinfo, path)
+
+ # Reverse sort directories.
+ if sys.version_info < (2, 4):
+ def sorter(dir1, dir2):
+ return cmp(dir1.name, dir2.name)
+ directories.sort(sorter)
+ directories.reverse()
+ else:
+ directories.sort(key=operator.attrgetter('name'), reverse=True)
+
+ # Set correct owner, mtime and filemode on directories.
+ for tarinfo in directories:
+ dirpath = os.path.join(path, tarinfo.name)
+ try:
+ self.chown(tarinfo, dirpath)
+ self.utime(tarinfo, dirpath)
+ self.chmod(tarinfo, dirpath)
+ except ExtractError:
+ e = sys.exc_info()[1]
+ if self.errorlevel > 1:
+ raise
+ else:
+ self._dbg(1, "tarfile: %s" % e)
+
+
+def main(argv, version=DEFAULT_VERSION):
+ """Install or upgrade setuptools and EasyInstall"""
+ tarball = download_setuptools()
+ _install(tarball)
+
+
+if __name__ == '__main__':
+ main(sys.argv[1:])