Skip to content

Commit

Permalink
[maykinmedia/objects-api#481] Update namespace for Site
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmursa-dev committed Dec 11, 2024
1 parent 41818ca commit dfc50cd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docker/setup_configuration/data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ objecttypes_tokens:
application: Application 1
administration: Administration 1

objecttypes_sites_config_enable: true
objecttypes_sites:
sites_config_enable: true
sites_config:
items:
- domain: example.com
name: example
4 changes: 2 additions & 2 deletions src/objecttypes/setup_configuration/steps/sites.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ class SitesConfigurationStep(BaseConfigurationStep[SitesConfigurationModel]):
Configure the application site/domain.
"""

namespace = "objecttypes_sites"
enable_setting = "objecttypes_sites_config_enable"
namespace = "sites_config"
enable_setting = "sites_config_enable"

verbose_name = "Configuration to set up Sites for ObjectTypes"
config_model = SitesConfigurationModel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
objecttypes_sites_config_enable: true
objecttypes_sites:
sites_config_enable: true
sites_config:
items:
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
objecttypes_sites_config_enable: true
objecttypes_sites:
sites_config_enable: true
sites_config:
items:
- domain: example-1.com
name: example-1
Expand Down

0 comments on commit dfc50cd

Please sign in to comment.