Skip to content
  • Lars Kruse's avatar
    df9a9dcd
    refactor(settings): provide grouprise settings via an object instead of module attributes · df9a9dcd
    Lars Kruse authored
    The change allows to apply lazy evaluation to (callable) values.
    This is necessary for upcoming optional applications (e.g. the `matrix_chat`
    feature), since their full configuration may not be available during the
    pre-configure phase (e.g. when "urls.py" is evaluated).
    
    Additionally temporary setting overrides (during tests) are less complicated
    with an object instead of a module attribute.
    df9a9dcd
    refactor(settings): provide grouprise settings via an object instead of module attributes
    Lars Kruse authored
    The change allows to apply lazy evaluation to (callable) values.
    This is necessary for upcoming optional applications (e.g. the `matrix_chat`
    feature), since their full configuration may not be available during the
    pre-configure phase (e.g. when "urls.py" is evaluated).
    
    Additionally temporary setting overrides (during tests) are less complicated
    with an object instead of a module attribute.
Loading