Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, March 26th
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
e7c4e5f4
Commit
e7c4e5f4
authored
11 years ago
by
Don Mitchell
Browse files
Options
Downloads
Patches
Plain Diff
Fixed use_tz not being effective in cms
parent
168cb306
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cms/envs/common.py
+4
-3
4 additions, 3 deletions
cms/envs/common.py
cms/pydev_manage.py
+11
-0
11 additions, 0 deletions
cms/pydev_manage.py
with
15 additions
and
3 deletions
cms/envs/common.py
+
4
−
3
View file @
e7c4e5f4
...
...
@@ -25,6 +25,7 @@ Longer TODO:
import
sys
import
lms.envs.common
from
lms.envs.common
import
USE_TZ
from
path
import
path
############################ FEATURE CONFIGURATION #############################
...
...
@@ -34,8 +35,8 @@ MITX_FEATURES = {
'
GITHUB_PUSH
'
:
False
,
'
ENABLE_DISCUSSION_SERVICE
'
:
False
,
'
AUTH_USE_MIT_CERTIFICATES
'
:
False
,
'
STUB_VIDEO_FOR_TESTING
'
:
False
,
# do not display video when running automated acceptance tests
'
STAFF_EMAIL
'
:
''
,
# email address for staff (eg to request course creation)
'
STUB_VIDEO_FOR_TESTING
'
:
False
,
# do not display video when running automated acceptance tests
'
STAFF_EMAIL
'
:
''
,
# email address for staff (eg to request course creation)
'
STUDIO_NPS_SURVEY
'
:
True
,
'
SEGMENT_IO
'
:
True
,
...
...
@@ -183,7 +184,7 @@ STATICFILES_DIRS = [
# Locale/Internationalization
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
=
True
USE_L10N
=
True
...
...
This diff is collapsed.
Click to expand it.
cms/pydev_manage.py
0 → 100644
+
11
−
0
View file @
e7c4e5f4
'''
Used for pydev eclipse. Should be innocuous for everyone else.
Created on May 8, 2013
@author: dmitchell
'''
#!/home/<username>/mitx_all/python/bin/python
from
django.core
import
management
if
__name__
==
'
__main__
'
:
management
.
execute_from_command_line
()
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment