Skip to content

Commit 7e7fc00

Browse files
authored
Merge pull request #78 from appsembler/enable_in_cms
Enable in Studio
2 parents 06e2bc2 + a36b62a commit 7e7fc00

3 files changed

Lines changed: 37 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
<!-- Note: Update the `Unreleased link` after adding a new release -->
99

10-
## [Unreleased](https://github.com/appsembler/tahoe-sites/compare/v0.1.6...HEAD)
10+
## [Unreleased](https://github.com/appsembler/tahoe-sites/compare/v0.2.1...HEAD)
11+
12+
13+
## [0.2.1](https://github.com/appsembler/site-configuration-client/compare/v0.1.12...v0.2.1) - 2022-07-21
14+
- support studio
15+
16+
## [0.1.12](https://github.com/appsembler/site-configuration-client/compare/v0.1.11...v0.1.12) - 2022-06-17
17+
- use a better filename for the Client class
18+
- site info for subscription info
19+
20+
## [0.1.11](https://github.com/appsembler/site-configuration-client/compare/v0.1.10...v0.1.11) - 2022-06-09
21+
- fix exception when bucket.get_blob returns None by
22+
23+
## [0.1.10](https://github.com/appsembler/site-configuration-client/compare/v0.1.9...v0.1.10) - 2022-06-09
24+
- return CSS as dictionary
25+
26+
## [0.1.9](https://github.com/appsembler/site-configuration-client/compare/v0.1.8...v0.1.9) - 2022-06-08
27+
- read json configs with environment prefix by
28+
29+
## [0.1.8](https://github.com/appsembler/site-configuration-client/compare/v0.1.7...v0.1.8) - 2022-06-01
30+
- pin google requirements to fix py35 incompatible packages
31+
- document django configs in readme
32+
- fixes for client cache and readonly storage
33+
34+
## [0.1.7](https://github.com/appsembler/site-configuration-client/compare/v0.1.6...v0.1.7) - 2022-05-19
35+
- attempt to fix pypi
36+
1137

1238
## [0.1.6](https://github.com/appsembler/site-configuration-client/compare/v0.1.5...v0.1.6) - 2022-05-17
1339
- added environment prefix

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def read(fname):
88

99
setup(
1010
name='site-configuration-client',
11-
version='0.1.12',
11+
version='0.2.1',
1212
description='Python client library for Site Configuration API',
1313
long_description=read('README.rst'),
1414
classifiers=[
@@ -24,6 +24,9 @@ def read(fname):
2424
'lms.djangoapp': [
2525
'site_config_client = site_config_client.apps:SiteConfigApp',
2626
],
27+
'cms.djangoapp': [
28+
'site_config_client = site_config_client.apps:SiteConfigApp',
29+
],
2730
},
2831
url="https://github.com/appsembler/site-configuration-client"
2932
)

site_config_client/apps.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,11 @@ class SiteConfigApp(AppConfig):
2929
SettingsType.TEST: {
3030
PluginSettings.RELATIVE_PATH: 'openedx.settings.test'},
3131
},
32+
ProjectType.CMS: {
33+
SettingsType.PRODUCTION: {
34+
PluginSettings.RELATIVE_PATH: 'openedx.settings.production'},
35+
SettingsType.TEST: {
36+
PluginSettings.RELATIVE_PATH: 'openedx.settings.test'},
37+
},
3238
},
3339
}

0 commit comments

Comments
 (0)