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
5e0afc63
Commit
5e0afc63
authored
May 13, 2013
by
e0d
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2024 from edx/bugfix/e0d/make-course-dynamic
Enable Delft and Georgetown to be handled by the dynamic path
parents
4774a1e9
eb843172
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lms/urls.py
+4
-4
No files found.
lms/urls.py
View file @
5e0afc63
...
@@ -61,10 +61,12 @@ urlpatterns = ('', # nopep8
...
@@ -61,10 +61,12 @@ urlpatterns = ('', # nopep8
url
(
r'^heartbeat$'
,
include
(
'heartbeat.urls'
)),
url
(
r'^heartbeat$'
,
include
(
'heartbeat.urls'
)),
##
## Only universities without courses should be included here. If
## courses exist, the dynamic profile rule below should win.
##
url
(
r'^(?i)university_profile/WellesleyX$'
,
'courseware.views.static_university_profile'
,
url
(
r'^(?i)university_profile/WellesleyX$'
,
'courseware.views.static_university_profile'
,
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'WellesleyX'
}),
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'WellesleyX'
}),
url
(
r'^(?i)university_profile/GeorgetownX$'
,
'courseware.views.static_university_profile'
,
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'GeorgetownX'
}),
url
(
r'^(?i)university_profile/McGillX$'
,
'courseware.views.static_university_profile'
,
url
(
r'^(?i)university_profile/McGillX$'
,
'courseware.views.static_university_profile'
,
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'McGillX'
}),
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'McGillX'
}),
url
(
r'^(?i)university_profile/TorontoX$'
,
'courseware.views.static_university_profile'
,
url
(
r'^(?i)university_profile/TorontoX$'
,
'courseware.views.static_university_profile'
,
...
@@ -73,8 +75,6 @@ urlpatterns = ('', # nopep8
...
@@ -73,8 +75,6 @@ urlpatterns = ('', # nopep8
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'RiceX'
}),
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'RiceX'
}),
url
(
r'^(?i)university_profile/ANUx$'
,
'courseware.views.static_university_profile'
,
url
(
r'^(?i)university_profile/ANUx$'
,
'courseware.views.static_university_profile'
,
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'ANUx'
}),
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'ANUx'
}),
url
(
r'^(?i)university_profile/DelftX$'
,
'courseware.views.static_university_profile'
,
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'DelftX'
}),
url
(
r'^(?i)university_profile/EPFLx$'
,
'courseware.views.static_university_profile'
,
url
(
r'^(?i)university_profile/EPFLx$'
,
'courseware.views.static_university_profile'
,
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'EPFLx'
}),
name
=
"static_university_profile"
,
kwargs
=
{
'org_id'
:
'EPFLx'
}),
...
...
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