[pyramid] improve pyramid warning with link to doc on how to write pyramid.ini file 3.26
authorLaurent Peuch <cortex@worlddomination.be>
Tue, 12 Feb 2019 16:11:54 +0100
branch3.26
changeset 12371 923f9c9f56c5
parent 12362 aa3581fc685c
child 12372 392aa430bf96
[pyramid] improve pyramid warning with link to doc on how to write pyramid.ini file
.hgignore
cubicweb/pyramid/auth.py
--- a/.hgignore	Tue Feb 12 14:43:45 2019 +0100
+++ b/.hgignore	Tue Feb 12 16:11:54 2019 +0100
@@ -32,3 +32,4 @@
 ^doc/_build
 ^doc/js_api/
 test-results.xml
+ve
--- a/cubicweb/pyramid/auth.py	Tue Feb 12 14:43:45 2019 +0100
+++ b/cubicweb/pyramid/auth.py	Tue Feb 12 16:11:54 2019 +0100
@@ -214,6 +214,11 @@
                 YOU SHOULD STOP THIS INSTANCE unless your really know what you
                 are doing !!
 
+                Please refer to to cubicweb-pyramid documentation on how to
+                write this pyramid.ini file:
+                https://cubicweb.readthedocs.io/en/latest/book/pyramid/settings/#pyramid-settings-file
+                Without it authentication WON'T work.
+
             ''')
 
         policies.append(