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
1297f0af
Commit
1297f0af
authored
Jan 12, 2016
by
Ehtesham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MA-1862] changing next to next_link, next is builtin
parent
8c94fdcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lms/djangoapps/discussion_api/tests/utils.py
+3
-3
No files found.
lms/djangoapps/discussion_api/tests/utils.py
View file @
1297f0af
...
...
@@ -373,14 +373,14 @@ def make_minimal_cs_comment(overrides=None):
return
ret
def
make_paginated_api_response
(
results
,
count
,
num_pages
,
next
,
previous
):
def
make_paginated_api_response
(
results
,
count
,
num_pages
,
next
_link
,
previous_link
):
"""
Generates the response dictionary of paginated APIs with passed data
"""
return
{
"pagination"
:
{
"next"
:
next
,
"previous"
:
previous
,
"next"
:
next
_link
,
"previous"
:
previous
_link
,
"count"
:
count
,
"num_pages"
:
num_pages
,
},
...
...
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