Skip to content

Commit

Permalink
[#467] update sites config namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyBA committed Dec 11, 2024
1 parent fc99137 commit 951e53f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/installation/config_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Create or update a (single) YAML configuration file with your settings:
.. code-block:: yaml
...
sites_config_enable: true
sites:
sites_config:
items:
- domain: example.com
name: Example site
Expand Down
2 changes: 1 addition & 1 deletion src/objects/setup_configuration/steps/sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SitesConfigurationStep(BaseConfigurationStep):
config_model = SitesConfigurationModel
verbose_name = "Sites configuration"

namespace = "sites"
namespace = "sites_config"
enable_setting = "sites_config_enable"

def execute(self, model: SitesConfigurationModel) -> None:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sites_config_enable: true
sites:
sites_config:
items:
- domain: example.com
name: Example site
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sites_config_enable: true
sites:
sites_config:
items:
- domain: example.com
name: Example site (revised)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sites_config_enable: true
sites:
sites_config:
items:
- domain: example.com
name: Example site
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sites_config_enable: true
sites:
sites_config:
items:
- domain: example.com
name: Example site
Expand Down

0 comments on commit 951e53f

Please sign in to comment.