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
4879b06c
Commit
4879b06c
authored
Oct 09, 2013
by
David Baumgold
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1235 from edx/db/tie-i18n-to-debug
Tie the USE_I18N setting to DEBUG setting
parents
b62abe65
fd7e8bac
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
12 deletions
+9
-12
cms/envs/acceptance.py
+0
-5
cms/envs/common.py
+4
-1
lms/envs/acceptance.py
+0
-5
lms/envs/common.py
+5
-1
No files found.
cms/envs/acceptance.py
View file @
4879b06c
...
@@ -79,11 +79,6 @@ DATABASES = {
...
@@ -79,11 +79,6 @@ DATABASES = {
# Use the auto_auth workflow for creating users and logging them in
# Use the auto_auth workflow for creating users and logging them in
MITX_FEATURES
[
'AUTOMATIC_AUTH_FOR_TESTING'
]
=
True
MITX_FEATURES
[
'AUTOMATIC_AUTH_FOR_TESTING'
]
=
True
# HACK
# Setting this flag to false causes imports to not load correctly in the lettuce python files
# We do not yet understand why this occurs. Setting this to true is a stopgap measure
USE_I18N
=
True
# Include the lettuce app for acceptance testing, including the 'harvest' django-admin command
# Include the lettuce app for acceptance testing, including the 'harvest' django-admin command
INSTALLED_APPS
+=
(
'lettuce.django'
,)
INSTALLED_APPS
+=
(
'lettuce.django'
,)
LETTUCE_APPS
=
(
'contentstore'
,)
LETTUCE_APPS
=
(
'contentstore'
,)
...
...
cms/envs/common.py
View file @
4879b06c
...
@@ -218,7 +218,10 @@ STATICFILES_DIRS = [
...
@@ -218,7 +218,10 @@ STATICFILES_DIRS = [
TIME_ZONE
=
'America/New_York'
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
TIME_ZONE
=
'America/New_York'
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
LANGUAGE_CODE
=
'en'
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE
=
'en'
# http://www.i18nguy.com/unicode/language-identifiers.html
USE_I18N
=
False
# We want i18n to be turned off in production, at least until we have full
# localizations. It's disconcerting for everything on the page to be in English
# except for one or two strings like "login" which are correctly localized.
USE_I18N
=
DEBUG
USE_L10N
=
True
USE_L10N
=
True
# Localization strings (e.g. django.po) are under this directory
# Localization strings (e.g. django.po) are under this directory
...
...
lms/envs/acceptance.py
View file @
4879b06c
...
@@ -102,11 +102,6 @@ CC_PROCESSOR['CyberSource']['MERCHANT_ID'] = "edx"
...
@@ -102,11 +102,6 @@ CC_PROCESSOR['CyberSource']['MERCHANT_ID'] = "edx"
CC_PROCESSOR
[
'CyberSource'
][
'SERIAL_NUMBER'
]
=
"0123456789012345678901"
CC_PROCESSOR
[
'CyberSource'
][
'SERIAL_NUMBER'
]
=
"0123456789012345678901"
CC_PROCESSOR
[
'CyberSource'
][
'PURCHASE_ENDPOINT'
]
=
"/shoppingcart/payment_fake"
CC_PROCESSOR
[
'CyberSource'
][
'PURCHASE_ENDPOINT'
]
=
"/shoppingcart/payment_fake"
# HACK
# Setting this flag to false causes imports to not load correctly in the lettuce python files
# We do not yet understand why this occurs. Setting this to true is a stopgap measure
USE_I18N
=
True
MITX_FEATURES
[
'ENABLE_FEEDBACK_SUBMISSION'
]
=
True
MITX_FEATURES
[
'ENABLE_FEEDBACK_SUBMISSION'
]
=
True
FEEDBACK_SUBMISSION_EMAIL
=
'dummy@example.com'
FEEDBACK_SUBMISSION_EMAIL
=
'dummy@example.com'
...
...
lms/envs/common.py
View file @
4879b06c
...
@@ -454,7 +454,11 @@ FAVICON_PATH = 'images/favicon.ico'
...
@@ -454,7 +454,11 @@ FAVICON_PATH = 'images/favicon.ico'
# Locale/Internationalization
# Locale/Internationalization
TIME_ZONE
=
'America/New_York'
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
TIME_ZONE
=
'America/New_York'
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
LANGUAGE_CODE
=
'en'
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE
=
'en'
# http://www.i18nguy.com/unicode/language-identifiers.html
USE_I18N
=
False
# We want i18n to be turned off in production, at least until we have full
# localizations. It's disconcerting for everything on the page to be in English
# except for one or two strings like "login" which are correctly localized.
USE_I18N
=
DEBUG
USE_L10N
=
True
USE_L10N
=
True
# Localization strings (e.g. django.po) are under this directory
# Localization strings (e.g. django.po) are under this directory
...
...
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