Skip to content

Commit

Permalink
Merge pull request #78 from appsembler/enable_in_cms
Browse files Browse the repository at this point in the history
Enable in Studio
  • Loading branch information
OmarIthawi authored Jul 22, 2022
2 parents 06e2bc2 + a36b62a commit 7e7fc00
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 2 deletions.
28 changes: 27 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

## [Unreleased](https://github.com/appsembler/tahoe-sites/compare/v0.1.6...HEAD)
## [Unreleased](https://github.com/appsembler/tahoe-sites/compare/v0.2.1...HEAD)


## [0.2.1](https://github.com/appsembler/site-configuration-client/compare/v0.1.12...v0.2.1) - 2022-07-21
- support studio

## [0.1.12](https://github.com/appsembler/site-configuration-client/compare/v0.1.11...v0.1.12) - 2022-06-17
- use a better filename for the Client class
- site info for subscription info

## [0.1.11](https://github.com/appsembler/site-configuration-client/compare/v0.1.10...v0.1.11) - 2022-06-09
- fix exception when bucket.get_blob returns None by

## [0.1.10](https://github.com/appsembler/site-configuration-client/compare/v0.1.9...v0.1.10) - 2022-06-09
- return CSS as dictionary

## [0.1.9](https://github.com/appsembler/site-configuration-client/compare/v0.1.8...v0.1.9) - 2022-06-08
- read json configs with environment prefix by

## [0.1.8](https://github.com/appsembler/site-configuration-client/compare/v0.1.7...v0.1.8) - 2022-06-01
- pin google requirements to fix py35 incompatible packages
- document django configs in readme
- fixes for client cache and readonly storage

## [0.1.7](https://github.com/appsembler/site-configuration-client/compare/v0.1.6...v0.1.7) - 2022-05-19
- attempt to fix pypi


## [0.1.6](https://github.com/appsembler/site-configuration-client/compare/v0.1.5...v0.1.6) - 2022-05-17
- added environment prefix
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def read(fname):

setup(
name='site-configuration-client',
version='0.1.12',
version='0.2.1',
description='Python client library for Site Configuration API',
long_description=read('README.rst'),
classifiers=[
Expand All @@ -24,6 +24,9 @@ def read(fname):
'lms.djangoapp': [
'site_config_client = site_config_client.apps:SiteConfigApp',
],
'cms.djangoapp': [
'site_config_client = site_config_client.apps:SiteConfigApp',
],
},
url="https://github.com/appsembler/site-configuration-client"
)
6 changes: 6 additions & 0 deletions site_config_client/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,11 @@ class SiteConfigApp(AppConfig):
SettingsType.TEST: {
PluginSettings.RELATIVE_PATH: 'openedx.settings.test'},
},
ProjectType.CMS: {
SettingsType.PRODUCTION: {
PluginSettings.RELATIVE_PATH: 'openedx.settings.production'},
SettingsType.TEST: {
PluginSettings.RELATIVE_PATH: 'openedx.settings.test'},
},
},
}

0 comments on commit 7e7fc00

Please sign in to comment.