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
d9b181e8
Commit
d9b181e8
authored
Dec 28, 2015
by
Peter Fogg
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11053 from edx/peter-fogg/enrollment-api-slashes
Add optional trailing slashes to the Enrollment API.
parents
76df0f06
3149aaa3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
common/djangoapps/enrollment/urls.py
+3
-3
No files found.
common/djangoapps/enrollment/urls.py
View file @
d9b181e8
...
...
@@ -15,20 +15,20 @@ from .views import (
urlpatterns
=
patterns
(
'enrollment.views'
,
url
(
r'^enrollment/{username},{course_key}$'
.
format
(
r'^enrollment/{username},{course_key}
/
$'
.
format
(
username
=
settings
.
USERNAME_PATTERN
,
course_key
=
settings
.
COURSE_ID_PATTERN
),
EnrollmentView
.
as_view
(),
name
=
'courseenrollment'
),
url
(
r'^enrollment/{course_key}$'
.
format
(
course_key
=
settings
.
COURSE_ID_PATTERN
),
r'^enrollment/{course_key}
/
$'
.
format
(
course_key
=
settings
.
COURSE_ID_PATTERN
),
EnrollmentView
.
as_view
(),
name
=
'courseenrollment'
),
url
(
r'^enrollment$'
,
EnrollmentListView
.
as_view
(),
name
=
'courseenrollments'
),
url
(
r'^course/{course_key}$'
.
format
(
course_key
=
settings
.
COURSE_ID_PATTERN
),
r'^course/{course_key}
/
$'
.
format
(
course_key
=
settings
.
COURSE_ID_PATTERN
),
EnrollmentCourseDetailView
.
as_view
(),
name
=
'courseenrollmentdetails'
),
...
...
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