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
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
36085a69
Commit
36085a69
authored
11 years ago
by
Jason Bau
Browse files
Options
Downloads
Patches
Plain Diff
apache lms wsgi fix
parent
1742f445
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lms/wsgi_apache_lms.py
+3
-6
3 additions, 6 deletions
lms/wsgi_apache_lms.py
with
3 additions
and
6 deletions
lms/wsgi_apache_lms.py
+
3
−
6
View file @
36085a69
...
...
@@ -3,13 +3,10 @@ import os
os
.
environ
.
setdefault
(
"
DJANGO_SETTINGS_MODULE
"
,
"
lms.envs.aws
"
)
os
.
environ
.
setdefault
(
"
SERVICE_VARIANT
"
,
"
lms
"
)
import
lms.startup
as
startup
startup
.
run
()
# This application object is used by the development server
# as well as any WSGI server configured to use this file.
from
django.core.wsgi
import
get_wsgi_application
application
=
get_wsgi_application
()
from
django.conf
import
settings
from
xmodule.modulestore.django
import
modulestore
for
store_name
in
settings
.
MODULESTORE
:
modulestore
(
store_name
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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