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
eceb8318
Commit
eceb8318
authored
May 29, 2014
by
Usman Khalid
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3833 from edx/usman/lms2738-verify-student-urls
Added trailing slashes to verify_student app urls.
parents
3aa45989
1ecfac3f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
common/djangoapps/course_modes/urls.py
+1
-1
lms/djangoapps/courseware/features/certificates.py
+1
-1
lms/djangoapps/verify_student/urls.py
+4
-4
No files found.
common/djangoapps/course_modes/urls.py
View file @
eceb8318
...
...
@@ -5,5 +5,5 @@ from course_modes import views
urlpatterns
=
patterns
(
''
,
url
(
r'^choose/(?P<course_id>[^/]+/[^/]+/[^/]+)$'
,
views
.
ChooseModeView
.
as_view
(),
name
=
"course_modes_choose"
),
url
(
r'^choose/(?P<course_id>[^/]+/[^/]+/[^/]+)
/
$'
,
views
.
ChooseModeView
.
as_view
(),
name
=
"course_modes_choose"
),
)
lms/djangoapps/courseware/features/certificates.py
View file @
eceb8318
...
...
@@ -281,7 +281,7 @@ def see_that_i_am_on_the_verified_track(step):
@step
(
u'I leave the flow and return$'
)
def
leave_the_flow_and_return
(
step
):
world
.
visit
(
'verify_student/verified/edx/999/Certificates'
)
world
.
visit
(
'verify_student/verified/edx/999/Certificates
/
'
)
@step
(
u'I am at the verified page$'
)
...
...
lms/djangoapps/verify_student/urls.py
View file @
eceb8318
...
...
@@ -5,19 +5,19 @@ from verify_student import views
urlpatterns
=
patterns
(
''
,
url
(
r'^show_requirements/(?P<course_id>[^/]+/[^/]+/[^/]+)$'
,
r'^show_requirements/(?P<course_id>[^/]+/[^/]+/[^/]+)
/
$'
,
views
.
show_requirements
,
name
=
"verify_student_show_requirements"
),
url
(
r'^verify/(?P<course_id>[^/]+/[^/]+/[^/]+)$'
,
r'^verify/(?P<course_id>[^/]+/[^/]+/[^/]+)
/
$'
,
views
.
VerifyView
.
as_view
(),
# pylint: disable=E1120
name
=
"verify_student_verify"
),
url
(
r'^verified/(?P<course_id>[^/]+/[^/]+/[^/]+)$'
,
r'^verified/(?P<course_id>[^/]+/[^/]+/[^/]+)
/
$'
,
views
.
VerifiedView
.
as_view
(),
name
=
"verify_student_verified"
),
...
...
@@ -41,7 +41,7 @@ urlpatterns = patterns(
),
url
(
r'^midcourse_reverify/(?P<course_id>[^/]+/[^/]+/[^/]+)$'
,
r'^midcourse_reverify/(?P<course_id>[^/]+/[^/]+/[^/]+)
/
$'
,
views
.
MidCourseReverifyView
.
as_view
(),
# pylint: disable=E1120
name
=
"verify_student_midcourse_reverify"
),
...
...
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