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
a4661623
Commit
a4661623
authored
Dec 07, 2014
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #43 from edx/dylanrhodes/aggregate_data_apis
Added missing forward slash to API endpoints
parents
e0fe7588
ec134789
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 @
a4661623
...
@@ -392,7 +392,7 @@ class CourseEnrollmentByGenderViewTests(CourseEnrollmentViewTestCaseMixin, Defau
...
@@ -392,7 +392,7 @@ class CourseEnrollmentByGenderViewTests(CourseEnrollmentViewTestCaseMixin, Defau
# pylint: disable=no-member,no-value-for-parameter
# pylint: disable=no-member,no-value-for-parameter
class
AnswerDistributionTests
(
TestCaseWithAuthentication
):
class
AnswerDistributionTests
(
TestCaseWithAuthentication
):
path
=
'/answer_distribution'
path
=
'/answer_distribution
/
'
maxDiff
=
None
maxDiff
=
None
@classmethod
@classmethod
...
@@ -630,7 +630,7 @@ class CourseActivityWeeklyViewTests(CourseViewTestCaseMixin, TestCaseWithAuthent
...
@@ -630,7 +630,7 @@ class CourseActivityWeeklyViewTests(CourseViewTestCaseMixin, TestCaseWithAuthent
# pylint: disable=no-member,no-value-for-parameter
# pylint: disable=no-member,no-value-for-parameter
class
GradeDistributionTests
(
TestCaseWithAuthentication
):
class
GradeDistributionTests
(
TestCaseWithAuthentication
):
path
=
'/grade_distribution'
path
=
'/grade_distribution
/
'
maxDiff
=
None
maxDiff
=
None
@classmethod
@classmethod
...
@@ -659,7 +659,7 @@ class GradeDistributionTests(TestCaseWithAuthentication):
...
@@ -659,7 +659,7 @@ class GradeDistributionTests(TestCaseWithAuthentication):
# pylint: disable=no-member,no-value-for-parameter
# pylint: disable=no-member,no-value-for-parameter
class
SequentialOpenDistributionTests
(
TestCaseWithAuthentication
):
class
SequentialOpenDistributionTests
(
TestCaseWithAuthentication
):
path
=
'/sequential_open_distribution'
path
=
'/sequential_open_distribution
/
'
maxDiff
=
None
maxDiff
=
None
@classmethod
@classmethod
...
...
analytics_data_api/v0/urls/problems.py
View file @
a4661623
...
@@ -13,9 +13,9 @@ PROBLEM_URLS = [
...
@@ -13,9 +13,9 @@ PROBLEM_URLS = [
urlpatterns
=
patterns
(
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'
),
SequentialOpenDistributionView
.
as_view
(),
name
=
'sequential_open_distribution'
),
)
)
for
path
,
view
,
name
in
PROBLEM_URLS
:
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