Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-data-api
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-analytics-data-api
Commits
ec134789
Commit
ec134789
authored
Dec 05, 2014
by
dylanrhodes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing forward slash to API endpoints
parent
e0fe7588
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
analytics_data_api/v0/tests/test_views.py
+3
-3
analytics_data_api/v0/urls/problems.py
+2
-2
No files found.
analytics_data_api/v0/tests/test_views.py
View file @
ec134789
...
...
@@ -392,7 +392,7 @@ class CourseEnrollmentByGenderViewTests(CourseEnrollmentViewTestCaseMixin, Defau
# pylint: disable=no-member,no-value-for-parameter
class
AnswerDistributionTests
(
TestCaseWithAuthentication
):
path
=
'/answer_distribution'
path
=
'/answer_distribution
/
'
maxDiff
=
None
@classmethod
...
...
@@ -630,7 +630,7 @@ class CourseActivityWeeklyViewTests(CourseViewTestCaseMixin, TestCaseWithAuthent
# pylint: disable=no-member,no-value-for-parameter
class
GradeDistributionTests
(
TestCaseWithAuthentication
):
path
=
'/grade_distribution'
path
=
'/grade_distribution
/
'
maxDiff
=
None
@classmethod
...
...
@@ -659,7 +659,7 @@ class GradeDistributionTests(TestCaseWithAuthentication):
# pylint: disable=no-member,no-value-for-parameter
class
SequentialOpenDistributionTests
(
TestCaseWithAuthentication
):
path
=
'/sequential_open_distribution'
path
=
'/sequential_open_distribution
/
'
maxDiff
=
None
@classmethod
...
...
analytics_data_api/v0/urls/problems.py
View file @
ec134789
...
...
@@ -13,9 +13,9 @@ PROBLEM_URLS = [
urlpatterns
=
patterns
(
''
,
url
(
r'^(?P<module_id>.+)/sequential_open_distribution$'
,
url
(
r'^(?P<module_id>.+)/sequential_open_distribution
/
$'
,
SequentialOpenDistributionView
.
as_view
(),
name
=
'sequential_open_distribution'
),
)
for
path
,
view
,
name
in
PROBLEM_URLS
:
urlpatterns
+=
patterns
(
''
,
url
(
r'^(?P<problem_id>.+)/'
+
re
.
escape
(
path
)
+
r'$'
,
view
.
as_view
(),
name
=
name
))
urlpatterns
+=
patterns
(
''
,
url
(
r'^(?P<problem_id>.+)/'
+
re
.
escape
(
path
)
+
r'
/
$'
,
view
.
as_view
(),
name
=
name
))
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