Commit f6efe961 by Clinton Blackburn Committed by Clinton Blackburn

Fixed theming bugs for ecommerce

- Setting staticfiles storage to the class needed for theming
- Corrected path for theming directory

LEARNER-3078
parent 016119a3
...@@ -135,11 +135,12 @@ ECOMMERCE_PAYMENT_PROCESSOR_CONFIG: ...@@ -135,11 +135,12 @@ ECOMMERCE_PAYMENT_PROCESSOR_CONFIG:
ECOMMERCE_PLATFORM_NAME: 'Your Platform Name Here' ECOMMERCE_PLATFORM_NAME: 'Your Platform Name Here'
ECOMMERCE_THEME_SCSS: 'sass/themes/default.scss' ECOMMERCE_THEME_SCSS: 'sass/themes/default.scss'
ECOMMERCE_COMPREHENSIVE_THEME_DIRS: ECOMMERCE_COMPREHENSIVE_THEME_DIRS:
- '{{ THEMES_CODE_DIR }}' - '{{ THEMES_CODE_DIR }}/{{ ecommerce_service_name }}'
- '{{ COMMON_APP_DIR }}/{{ ecommerce_service_name }}/{{ ecommerce_service_name }}/ecommerce/themes' - '{{ COMMON_APP_DIR }}/{{ ecommerce_service_name }}/{{ ecommerce_service_name }}/ecommerce/themes'
ECOMMERCE_ENABLE_COMPREHENSIVE_THEMING: false ECOMMERCE_ENABLE_COMPREHENSIVE_THEMING: false
ECOMMERCE_DEFAULT_SITE_THEME: !!null ECOMMERCE_DEFAULT_SITE_THEME: !!null
ECOMMERCE_STATICFILES_STORAGE: 'ecommerce.theming.storage.ThemeStorage'
# Celery # Celery
ECOMMERCE_BROKER_USERNAME: 'celery' ECOMMERCE_BROKER_USERNAME: 'celery'
......
...@@ -35,6 +35,7 @@ dependencies: ...@@ -35,6 +35,7 @@ dependencies:
edx_django_service_social_auth_edx_oidc_secret: '{{ ECOMMERCE_SOCIAL_AUTH_EDX_OIDC_SECRET }}' edx_django_service_social_auth_edx_oidc_secret: '{{ ECOMMERCE_SOCIAL_AUTH_EDX_OIDC_SECRET }}'
edx_django_service_social_auth_redirect_is_https: '{{ ECOMMERCE_SOCIAL_AUTH_REDIRECT_IS_HTTPS }}' edx_django_service_social_auth_redirect_is_https: '{{ ECOMMERCE_SOCIAL_AUTH_REDIRECT_IS_HTTPS }}'
edx_django_service_session_expire_at_browser_close: '{{ ECOMMERCE_SESSION_EXPIRE_AT_BROWSER_CLOSE }}' edx_django_service_session_expire_at_browser_close: '{{ ECOMMERCE_SESSION_EXPIRE_AT_BROWSER_CLOSE }}'
edx_django_service_staticfiles_storage: '{{ ECOMMERCE_STATICFILES_STORAGE }}'
edx_django_service_post_migrate_commands: '{{ ecommerce_post_migrate_commands }}' edx_django_service_post_migrate_commands: '{{ ecommerce_post_migrate_commands }}'
edx_django_service_basic_auth_exempted_paths_extra: edx_django_service_basic_auth_exempted_paths_extra:
- payment - payment
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment