Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a27688af
Commit
a27688af
authored
Sep 26, 2017
by
Uman Shahzad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump to edx-enterprise to 0.48.1
parent
a2dc27e6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
7 deletions
+12
-7
cms/envs/aws.py
+1
-0
cms/envs/common.py
+2
-2
common/djangoapps/util/tests/test_db.py
+1
-4
lms/envs/aws.py
+5
-0
lms/envs/common.py
+2
-0
requirements/edx/base.txt
+1
-1
No files found.
cms/envs/aws.py
View file @
a27688af
...
...
@@ -247,6 +247,7 @@ LOGGING = get_logger_config(LOG_DIR,
#theming start:
PLATFORM_NAME
=
ENV_TOKENS
.
get
(
'PLATFORM_NAME'
,
PLATFORM_NAME
)
PLATFORM_DESCRIPTION
=
ENV_TOKENS
.
get
(
'PLATFORM_DESCRIPTION'
,
PLATFORM_DESCRIPTION
)
STUDIO_NAME
=
ENV_TOKENS
.
get
(
'STUDIO_NAME'
,
STUDIO_NAME
)
STUDIO_SHORT_NAME
=
ENV_TOKENS
.
get
(
'STUDIO_SHORT_NAME'
,
STUDIO_SHORT_NAME
)
...
...
cms/envs/common.py
View file @
a27688af
...
...
@@ -48,8 +48,8 @@ from datetime import timedelta
import
lms.envs.common
# Although this module itself may not use these imported variables, other dependent modules may.
from
lms.envs.common
import
(
USE_TZ
,
TECH_SUPPORT_EMAIL
,
PLATFORM_NAME
,
BUGS_EMAIL
,
DOC_STORE_CONFIG
,
DATA_DIR
,
ALL_LANGUAGES
,
WIKI_ENABLED
,
update_module_store_settings
,
ASSET_IGNORE_REGEX
,
USE_TZ
,
TECH_SUPPORT_EMAIL
,
PLATFORM_NAME
,
PLATFORM_DESCRIPTION
,
BUGS_EMAIL
,
DOC_STORE_CONFIG
,
DATA_DIR
,
ALL_LANGUAGES
,
WIKI_ENABLED
,
update_module_store_settings
,
ASSET_IGNORE_REGEX
,
PARENTAL_CONSENT_AGE_LIMIT
,
COMPREHENSIVE_THEME_DIRS
,
REGISTRATION_EMAIL_PATTERNS_ALLOWED
,
# The following PROFILE_IMAGE_* settings are included as they are
# indirectly accessed through the email opt-in API, which is
...
...
common/djangoapps/util/tests/test_db.py
View file @
a27688af
...
...
@@ -236,7 +236,4 @@ class MigrationTests(TestCase):
out
=
StringIO
()
call_command
(
'makemigrations'
,
dry_run
=
True
,
verbosity
=
3
,
stdout
=
out
)
output
=
out
.
getvalue
()
# Temporary for `edx-enterprise` version bumps with migrations.
# Please delete when `edx-enterprise==0.47.0`.
if
'Remove field'
not
in
output
and
'Delete model'
not
in
output
:
self
.
assertIn
(
'No changes detected'
,
output
)
self
.
assertIn
(
'No changes detected'
,
output
)
lms/envs/aws.py
View file @
a27688af
...
...
@@ -145,6 +145,7 @@ MEDIA_ROOT = ENV_TOKENS.get('MEDIA_ROOT', MEDIA_ROOT)
MEDIA_URL
=
ENV_TOKENS
.
get
(
'MEDIA_URL'
,
MEDIA_URL
)
PLATFORM_NAME
=
ENV_TOKENS
.
get
(
'PLATFORM_NAME'
,
PLATFORM_NAME
)
PLATFORM_DESCRIPTION
=
ENV_TOKENS
.
get
(
'PLATFORM_DESCRIPTION'
,
PLATFORM_DESCRIPTION
)
# For displaying on the receipt. At Stanford PLATFORM_NAME != MERCHANT_NAME, but PLATFORM_NAME is a fine default
PLATFORM_TWITTER_ACCOUNT
=
ENV_TOKENS
.
get
(
'PLATFORM_TWITTER_ACCOUNT'
,
PLATFORM_TWITTER_ACCOUNT
)
PLATFORM_FACEBOOK_ACCOUNT
=
ENV_TOKENS
.
get
(
'PLATFORM_FACEBOOK_ACCOUNT'
,
PLATFORM_FACEBOOK_ACCOUNT
)
...
...
@@ -1004,6 +1005,10 @@ ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE = ENV_TOKENS.get(
'ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE'
,
ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE
)
ENTERPRISE_TAGLINE
=
ENV_TOKENS
.
get
(
'ENTERPRISE_TAGLINE'
,
ENTERPRISE_TAGLINE
)
ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS
=
set
(
ENV_TOKENS
.
get
(
'ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS'
,
...
...
lms/envs/common.py
View file @
a27688af
...
...
@@ -47,6 +47,7 @@ from lms.djangoapps.lms_xblock.mixin import LmsBlockMixin
################################### FEATURES ###################################
# The display name of the platform to be used in templates/emails/etc.
PLATFORM_NAME
=
_
(
'Your Platform Name Here'
)
PLATFORM_DESCRIPTION
=
_
(
'Your Platform Description Here'
)
CC_MERCHANT_NAME
=
PLATFORM_NAME
PLATFORM_FACEBOOK_ACCOUNT
=
"http://www.facebook.com/YourPlatformFacebookAccount"
...
...
@@ -3271,6 +3272,7 @@ ENTERPRISE_SPECIFIC_BRANDED_WELCOME_TEMPLATE = _(
'{platform_name}{end_bold} to offer you high-quality learning opportunities '
'from the world
\'
s best universities.'
)
ENTERPRISE_TAGLINE
=
''
ENTERPRISE_EXCLUDED_REGISTRATION_FIELDS
=
{
'age'
,
'level_of_education'
,
...
...
requirements/edx/base.txt
View file @
a27688af
...
...
@@ -49,7 +49,7 @@ edx-lint==0.4.3
astroid==1.3.8
edx-django-oauth2-provider==1.2.5
edx-django-sites-extensions==2.3.0
edx-enterprise==0.4
6.8
edx-enterprise==0.4
8.1
edx-oauth2-provider==1.2.2
edx-opaque-keys==0.4.0
edx-organizations==0.4.6
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment