From 06dfa6f171072fa9caf962bca20069af7e847925 Mon Sep 17 00:00:00 2001 From: Artur Barseghyan Date: Sun, 11 Sep 2016 23:07:58 +0200 Subject: [PATCH] readme fixes --- README.rst | 13 +++++++------ examples/simple/settings.py | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 13557ea7..18113433 100644 --- a/README.rst +++ b/README.rst @@ -1405,7 +1405,7 @@ Overriding the "simple" theme. Register the overridden theme. Note, that it's important to set the `force` argument to True, in order to override the original theme. Force can be -applied only once (for a overridden element). +applied only once (for an overridden element). .. code-block:: python @@ -1485,8 +1485,8 @@ There are several management commands available. Tuning ====== -There are number of `fobi` settings you can override in the settings module of -your Django project: +There are number of `django-fobi` settings you can override in the settings +module of your Django project: - `FOBI_RESTRICT_PLUGIN_ACCESS` (bool): If set to True, (Django) permission system for dash plugins is enabled. Defaults to True. Setting this to False @@ -1642,7 +1642,7 @@ of each theme for details. HTML5 fields ============ -The following HTML5 fields are supported in appropriate bundled plugins: +The following HTML5 fields are supported in corresponding bundled plugins: - date - datetime @@ -1711,7 +1711,7 @@ In your GUI, you should be refering to the initial values in the following way: {{ request.path }} {{ now }} {{ today }} -Notice, that you should not provide the `fobi_dynamic_values.` as a prefix. +Note, that you should not provide the `fobi_dynamic_values.` as a prefix. Currently, the following variables are available in the `fobi.context_processors.dynamic_values` context processor: @@ -1769,7 +1769,8 @@ Currently, the following variables are available in the Submitted form element plugins values ===================================== While some values of form element plugins are submitted as is, some others -need additional processing. There are 3 behaviours taken into consideration: +need additional processing. There are 3 types of behaviour taken into +consideration: - "val": value is being sent as is. - "repr": (human readable) representation of the value is used. diff --git a/examples/simple/settings.py b/examples/simple/settings.py index 2da5e3d9..94db55d6 100644 --- a/examples/simple/settings.py +++ b/examples/simple/settings.py @@ -275,7 +275,7 @@ INSTALLED_APPS = [ # *********************************************************************** # *********************************************************************** 'fobi.contrib.plugins.form_handlers.db_store', - #'fobi.contrib.plugins.form_handlers.http_repost', + 'fobi.contrib.plugins.form_handlers.http_repost', 'fobi.contrib.plugins.form_handlers.mail', # ***********************************************************************