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
f441671c
Commit
f441671c
authored
Mar 27, 2015
by
chrisndodge
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7428 from stvstnfrd/env/course/display
Override COURSE_*_VISIBILITY_PERMISSION from ENV_TOKENS
parents
4d6c47c4
8838d07f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
lms/envs/aws.py
+11
-0
No files found.
lms/envs/aws.py
View file @
f441671c
...
...
@@ -521,6 +521,17 @@ REGISTRATION_CODE_LENGTH = ENV_TOKENS.get('REGISTRATION_CODE_LENGTH', 8)
INVOICE_CORP_ADDRESS
=
ENV_TOKENS
.
get
(
'INVOICE_CORP_ADDRESS'
,
INVOICE_CORP_ADDRESS
)
INVOICE_PAYMENT_INSTRUCTIONS
=
ENV_TOKENS
.
get
(
'INVOICE_PAYMENT_INSTRUCTIONS'
,
INVOICE_PAYMENT_INSTRUCTIONS
)
# Which access.py permission names to check;
# We default this to the legacy permission 'see_exists'.
COURSE_CATALOG_VISIBILITY_PERMISSION
=
ENV_TOKENS
.
get
(
'COURSE_CATALOG_VISIBILITY_PERMISSION'
,
COURSE_CATALOG_VISIBILITY_PERMISSION
)
COURSE_ABOUT_VISIBILITY_PERMISSION
=
ENV_TOKENS
.
get
(
'COURSE_ABOUT_VISIBILITY_PERMISSION'
,
COURSE_ABOUT_VISIBILITY_PERMISSION
)
#date format the api will be formatting the datetime values
API_DATE_FORMAT
=
'
%
Y-
%
m-
%
d'
API_DATE_FORMAT
=
ENV_TOKENS
.
get
(
'API_DATE_FORMAT'
,
API_DATE_FORMAT
)
...
...
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