@@ -53,10 +53,6 @@ Then, you must make some changes to the config:
53
53
**Store it in a safe place ** — git is not one! You can use
54
54
``os.urandom(24) `` to generate something good.
55
55
* ``COIL_URL `` — the URL under which Coil can be accessed.
56
- * ``COIL_LOGIN_CAPTCHA `` — if you want reCAPTCHA to appear on the login page
57
- (aimed at plugic environments, eg. the demo site), set this to a dict of
58
- ``{'enabled': True, 'site_key': '', 'secret_key': ''} `` and fill in your data.
59
- If you don’t want a CAPTCHA, don’t set this setting.
60
56
* ``_MAKO_DISABLE_CACHING = True ``
61
57
* Modify ``POSTS `` and ``PAGES ``, replacing ``.txt `` with ``.html ``.
62
58
* You must set the mode (Limited vs Full) and configure it accordingly — see
@@ -70,6 +66,18 @@ is by downloading the raw ``.css`` file and saving it as ``files/assets/css/cust
70
66
71
67
__ https://github.com/Voog/wysihtml/blob/master/examples/css/stylesheet.css
72
68
69
+ Special config for demo sites
70
+ -----------------------------
71
+
72
+ The `demo site <https://coildemo-admin.getnikola.com/ >`_ uses the following two
73
+ settings, which might also be useful for some environments:
74
+
75
+ * ``COIL_LOGIN_CAPTCHA `` — if you want reCAPTCHA to appear on the login page
76
+ (aimed at plugic environments, eg. the demo site), set this to a dict of
77
+ ``{'enabled': True, 'site_key': '', 'secret_key': ''} `` and fill in your data.
78
+ If you don’t want a CAPTCHA, don’t set this setting.
79
+ * ``COIL_USERS_PREVENT_EDITING `` — list of user IDs (integers) that cannot edit their
80
+ profiles.
73
81
74
82
Limited Mode vs. Full Mode
75
83
==========================
0 commit comments