From 7040ba890017a931f484433456e8465404c07d5a Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Thu, 23 Oct 2014 16:14:39 +0200 Subject: [PATCH] README fixes --- README | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README b/README index e27b558..0ef3956 100644 --- a/README +++ b/README @@ -73,7 +73,7 @@ Static renderer The simplest renderer is the static renderer you can configure one like this:: - CMS_BLURP_RENDERERS = { + CMS_PLUGIN_PLUGIN_BLURP_RENDERERS = { 'homepage_text': { 'name': u'Homepage text', 'class': 'cmsplugin_blurp.renderers.static.Renderer', @@ -168,7 +168,7 @@ Exemple with the JSON parser The configuration:: - CMS_BLURP_RENDERERS = { + CMS_PLUGIN_BLURP_RENDERERS = { 'json': { 'name': u'My JSON content', 'class': 'cmsplugin_blurp.renderer.data_source.Renderer', @@ -207,7 +207,7 @@ the following datas:: You can present this file using this configuration:: - CMS_BLURP_RENDERERS = { + CMS_PLUGIN_BLURP_RENDERERS = { 'timesheet': { 'name': u'Timesheet of our organization', 'class': 'cmsplugin_blurp.renderer.data_source.Renderer', @@ -247,14 +247,14 @@ SQL Renderer Configuration:: - CMS_BLURP_RENDERERS = { + CMS_PLUGIN_BLURP_RENDERERS = { 'student_table': { 'name': u'Table of students', 'class': 'cmsplugin_blurp.renderer.sql.Renderer', 'url': 'postgresql://scott:tiger@localhost:5432/mydatabase', 'views': { 'students': { - 'query': 'QUERY name, age, birthdate FROM student WHERE class_id = :class_id', + 'query': 'SELECT name, age, birthdate FROM student WHERE class_id = :class_id', 'bindparams': { 'class_id': 12 }