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
8c27e3a2
Commit
8c27e3a2
authored
12 years ago
by
Victor Shnayder
Browse files
Options
Downloads
Patches
Plain Diff
Revert overly aggressive killing.
(don't worry--askbot is still dead)
parent
9281f3c1
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
lms/envs/common.py
+2
-1
2 additions, 1 deletion
lms/envs/common.py
lms/envs/dev_ike.py
+0
-1
0 additions, 1 deletion
lms/envs/dev_ike.py
lms/urls.py
+10
-2
10 additions, 2 deletions
lms/urls.py
with
12 additions
and
4 deletions
lms/envs/common.py
+
2
−
1
View file @
8c27e3a2
...
...
@@ -66,7 +66,6 @@ MITX_FEATURES = {
# set to None to do no university selection
'
ENABLE_TEXTBOOK
'
:
True
,
'
ENABLE_DISCUSSION
'
:
False
,
'
ENABLE_DISCUSSION_SERVICE
'
:
True
,
'
ENABLE_PSYCHOMETRICS
'
:
False
,
# real-time psychometrics (eg item response theory analysis in instructor dashboard)
...
...
@@ -360,6 +359,7 @@ MIDDLEWARE_CLASSES = (
'
course_wiki.course_nav.Middleware
'
,
'
django.middleware.transaction.TransactionMiddleware
'
,
# 'debug_toolbar.middleware.DebugToolbarMiddleware',
'
django_comment_client.utils.ViewNameMiddleware
'
,
...
...
@@ -594,6 +594,7 @@ INSTALLED_APPS = (
# For testing
'
django_jasmine
'
,
'
django.contrib.admin
'
,
# only used in DEBUG mode
# Discussion forums
'
django_comment_client
'
,
...
...
This diff is collapsed.
Click to expand it.
lms/envs/dev_ike.py
+
0
−
1
View file @
8c27e3a2
...
...
@@ -14,7 +14,6 @@ import socket
WIKI_ENABLED
=
False
MITX_FEATURES
[
'
ENABLE_TEXTBOOK
'
]
=
False
MITX_FEATURES
[
'
ENABLE_DISCUSSION
'
]
=
False
MITX_FEATURES
[
'
ACCESS_REQUIRE_STAFF_FOR_COURSE
'
]
=
True
# require that user be in the staff_* group to be able to enroll
MITX_FEATURES
[
'
SUBDOMAIN_COURSE_LISTINGS
'
]
=
False
MITX_FEATURES
[
'
SUBDOMAIN_BRANDING
'
]
=
False
...
...
This diff is collapsed.
Click to expand it.
lms/urls.py
+
10
−
2
View file @
8c27e3a2
from
django.conf
import
settings
from
django.conf.urls
import
patterns
,
include
,
url
from
django.contrib
import
admin
from
django.conf.urls.static
import
static
import
django.contrib.auth.views
# Uncomment the next two lines to enable the admin:
if
settings
.
DEBUG
:
from
django.contrib
import
admin
admin
.
autodiscover
()
urlpatterns
=
(
''
,
url
(
r
'
^$
'
,
'
branding.views.index
'
,
name
=
"
root
"
),
# Main marketing page, or redirect to courseware
url
(
r
'
^dashboard$
'
,
'
student.views.dashboard
'
,
name
=
"
dashboard
"
),
...
...
@@ -236,8 +242,10 @@ if settings.QUICKEDIT:
urlpatterns
+=
(
url
(
r
'
^dogfood/(?P<id>[^/]*)$
'
,
'
dogfood.views.df_capa_problem
'
),)
if
settings
.
DEBUG
:
## Jasmine
urlpatterns
=
urlpatterns
+
(
url
(
r
'
^_jasmine/
'
,
include
(
'
django_jasmine.urls
'
)),)
## Jasmine and admin
urlpatterns
=
urlpatterns
+
(
url
(
r
'
^_jasmine/
'
,
include
(
'
django_jasmine.urls
'
)),
url
(
r
'
^admin/
'
,
include
(
admin
.
site
.
urls
)),
)
if
settings
.
MITX_FEATURES
.
get
(
'
AUTH_USE_OPENID
'
):
urlpatterns
+=
(
...
...
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