doc/book/pyramid/settings.rst
branch3.25
changeset 12098 452129511244
parent 11631 faf279e33298
child 12186 36f1c7ab9010
equal deleted inserted replaced
12097:78a5c6a64fad 12098:452129511244
    11 pyramid related configuration value.
    11 pyramid related configuration value.
    12 
    12 
    13 
    13 
    14 .. _pyramid_settings:
    14 .. _pyramid_settings:
    15 
    15 
    16 Pyramid Settings
    16 Pyramid Settings file
    17 ----------------
    17 ---------------------
    18 
    18 
    19 If a ``pyramid.ini`` file is found in the instance home directory (where the
    19 In *backwards compatibility* mode, Pyramid settings will be looked for in a
    20 ``all-in-one.conf`` file is), its ``[main]`` section will be read and used as the
    20 ``pyramid.ini`` file in the instance home directory (where the
    21 ``settings`` of the pyramid Configurator.
    21 ``all-in-one.conf`` file is), its ``[main]`` section will be read and used as
       
    22 the ``settings`` of the pyramid Configurator.
    22 
    23 
    23 This configuration file is almost the same as the one read by ``pserve``, which
    24 This configuration file is almost the same as the one read by ``pserve``, which
    24 allow to easily add any pyramid extension and configure it.
    25 allow to easily add any pyramid extension and configure it.
    25 
    26 
    26 A typical ``pyramid.ini`` file is:
    27 A typical ``pyramid.ini`` file is:
    40 
    41 
    41     redis.sessions.secret = your_cookie_signing_secret
    42     redis.sessions.secret = your_cookie_signing_secret
    42     redis.sessions.timeout = 1200
    43     redis.sessions.timeout = 1200
    43 
    44 
    44     redis.sessions.host = mywheezy
    45     redis.sessions.host = mywheezy
       
    46 
       
    47 
       
    48 Without *backwards compatibility* a standard ``development.ini`` file can be
       
    49 used with any useful CubicWeb-specific settings added.
       
    50 
       
    51 
       
    52 Pyramid CubicWeb configuration entries
       
    53 --------------------------------------
    45 
    54 
    46 The Pyramid CubicWeb specific configuration entries are:
    55 The Pyramid CubicWeb specific configuration entries are:
    47 
    56 
    48 .. confval:: cubicweb.instance (string)
    57 .. confval:: cubicweb.instance (string)
    49 
    58