Django Pagination error at object of type 'HttpResponse' has no len()
I am developing ontop of my views the ability to have Django paginate my product list. Without pagination my code worked absolutely fine . This is the code I had before pagination
class JobListIndex2(TagMixin, ListView):
template_name = 'jobs/job_list.html'
model = Job
paginate_by = 10
context_object_name = 'job'
def get_queryset(self, *args, **kwargs):
request = self.request
return Job.objects.all()
I have then decided to integrate pagination and updated my code to this
class JobListIndex2(TagMixin, ListView):
template_name = 'jobs/job_list.html'
model = Job
paginate_by = 10
context_object_name = 'job'
# def get_queryset(self, *args, **kwargs):
# request = self.request
# return Job.objects.all()
def get_queryset(self, *args, **kwargs):
request = self.request
queryset_list = Job.objects.all().order_by("-time_starting")
paginator = Paginator(queryset_list, 10) # Show 10 jobs per page
page = request.GET.get('page')
queryset = paginator.get_page(page)
context = {
'job': queryset,
'title': 'Jobs'
}
return render(request, 'jobs/job_list.html', context)
The resulting error relates to object of type 'HttpResponse' has no len() which I am not sure where that has come from. My traceback
Traceback (most recent call last):
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersexception.py", line 34, in inner
response = get_response(request)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersbase.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersbase.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericbase.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericbase.py", line 88, in dispatch
return handler(request, *args, **kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 157, in get
context = self.get_context_data()
File "C:UsersUserDesktopprotectandservejobsviews.py", line 371, in get_context_data
context = super(TagMixin, self).get_context_data(**kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 119, in get_context_data
paginator, page, queryset, is_paginated = self.paginate_queryset(queryset, page_size)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 69, in paginate_queryset
page = paginator.page(page_number)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 67, in page
number = self.validate_number(number)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 45, in validate_number
if number > self.num_pages:
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoutilsfunctional.py", line 37, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 97, in num_pages
if self.count == 0 and not self.allow_empty_first_page:
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoutilsfunctional.py", line 37, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 92, in count
return len(self.object_list)
TypeError: object of type 'HttpResponse' has no len()
[13/Nov/2018 07:42:46] "GET /jobs/jobs HTTP/1.1" 500 115769
Any tips please ?
python django
add a comment |
I am developing ontop of my views the ability to have Django paginate my product list. Without pagination my code worked absolutely fine . This is the code I had before pagination
class JobListIndex2(TagMixin, ListView):
template_name = 'jobs/job_list.html'
model = Job
paginate_by = 10
context_object_name = 'job'
def get_queryset(self, *args, **kwargs):
request = self.request
return Job.objects.all()
I have then decided to integrate pagination and updated my code to this
class JobListIndex2(TagMixin, ListView):
template_name = 'jobs/job_list.html'
model = Job
paginate_by = 10
context_object_name = 'job'
# def get_queryset(self, *args, **kwargs):
# request = self.request
# return Job.objects.all()
def get_queryset(self, *args, **kwargs):
request = self.request
queryset_list = Job.objects.all().order_by("-time_starting")
paginator = Paginator(queryset_list, 10) # Show 10 jobs per page
page = request.GET.get('page')
queryset = paginator.get_page(page)
context = {
'job': queryset,
'title': 'Jobs'
}
return render(request, 'jobs/job_list.html', context)
The resulting error relates to object of type 'HttpResponse' has no len() which I am not sure where that has come from. My traceback
Traceback (most recent call last):
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersexception.py", line 34, in inner
response = get_response(request)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersbase.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersbase.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericbase.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericbase.py", line 88, in dispatch
return handler(request, *args, **kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 157, in get
context = self.get_context_data()
File "C:UsersUserDesktopprotectandservejobsviews.py", line 371, in get_context_data
context = super(TagMixin, self).get_context_data(**kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 119, in get_context_data
paginator, page, queryset, is_paginated = self.paginate_queryset(queryset, page_size)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 69, in paginate_queryset
page = paginator.page(page_number)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 67, in page
number = self.validate_number(number)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 45, in validate_number
if number > self.num_pages:
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoutilsfunctional.py", line 37, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 97, in num_pages
if self.count == 0 and not self.allow_empty_first_page:
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoutilsfunctional.py", line 37, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 92, in count
return len(self.object_list)
TypeError: object of type 'HttpResponse' has no len()
[13/Nov/2018 07:42:46] "GET /jobs/jobs HTTP/1.1" 500 115769
Any tips please ?
python django
There is no need to do this. ListView already has pagination.
– Daniel Roseman
Nov 13 '18 at 7:55
add a comment |
I am developing ontop of my views the ability to have Django paginate my product list. Without pagination my code worked absolutely fine . This is the code I had before pagination
class JobListIndex2(TagMixin, ListView):
template_name = 'jobs/job_list.html'
model = Job
paginate_by = 10
context_object_name = 'job'
def get_queryset(self, *args, **kwargs):
request = self.request
return Job.objects.all()
I have then decided to integrate pagination and updated my code to this
class JobListIndex2(TagMixin, ListView):
template_name = 'jobs/job_list.html'
model = Job
paginate_by = 10
context_object_name = 'job'
# def get_queryset(self, *args, **kwargs):
# request = self.request
# return Job.objects.all()
def get_queryset(self, *args, **kwargs):
request = self.request
queryset_list = Job.objects.all().order_by("-time_starting")
paginator = Paginator(queryset_list, 10) # Show 10 jobs per page
page = request.GET.get('page')
queryset = paginator.get_page(page)
context = {
'job': queryset,
'title': 'Jobs'
}
return render(request, 'jobs/job_list.html', context)
The resulting error relates to object of type 'HttpResponse' has no len() which I am not sure where that has come from. My traceback
Traceback (most recent call last):
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersexception.py", line 34, in inner
response = get_response(request)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersbase.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersbase.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericbase.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericbase.py", line 88, in dispatch
return handler(request, *args, **kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 157, in get
context = self.get_context_data()
File "C:UsersUserDesktopprotectandservejobsviews.py", line 371, in get_context_data
context = super(TagMixin, self).get_context_data(**kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 119, in get_context_data
paginator, page, queryset, is_paginated = self.paginate_queryset(queryset, page_size)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 69, in paginate_queryset
page = paginator.page(page_number)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 67, in page
number = self.validate_number(number)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 45, in validate_number
if number > self.num_pages:
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoutilsfunctional.py", line 37, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 97, in num_pages
if self.count == 0 and not self.allow_empty_first_page:
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoutilsfunctional.py", line 37, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 92, in count
return len(self.object_list)
TypeError: object of type 'HttpResponse' has no len()
[13/Nov/2018 07:42:46] "GET /jobs/jobs HTTP/1.1" 500 115769
Any tips please ?
python django
I am developing ontop of my views the ability to have Django paginate my product list. Without pagination my code worked absolutely fine . This is the code I had before pagination
class JobListIndex2(TagMixin, ListView):
template_name = 'jobs/job_list.html'
model = Job
paginate_by = 10
context_object_name = 'job'
def get_queryset(self, *args, **kwargs):
request = self.request
return Job.objects.all()
I have then decided to integrate pagination and updated my code to this
class JobListIndex2(TagMixin, ListView):
template_name = 'jobs/job_list.html'
model = Job
paginate_by = 10
context_object_name = 'job'
# def get_queryset(self, *args, **kwargs):
# request = self.request
# return Job.objects.all()
def get_queryset(self, *args, **kwargs):
request = self.request
queryset_list = Job.objects.all().order_by("-time_starting")
paginator = Paginator(queryset_list, 10) # Show 10 jobs per page
page = request.GET.get('page')
queryset = paginator.get_page(page)
context = {
'job': queryset,
'title': 'Jobs'
}
return render(request, 'jobs/job_list.html', context)
The resulting error relates to object of type 'HttpResponse' has no len() which I am not sure where that has come from. My traceback
Traceback (most recent call last):
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersexception.py", line 34, in inner
response = get_response(request)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersbase.py", line 126, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorehandlersbase.py", line 124, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericbase.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericbase.py", line 88, in dispatch
return handler(request, *args, **kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 157, in get
context = self.get_context_data()
File "C:UsersUserDesktopprotectandservejobsviews.py", line 371, in get_context_data
context = super(TagMixin, self).get_context_data(**kwargs)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 119, in get_context_data
paginator, page, queryset, is_paginated = self.paginate_queryset(queryset, page_size)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoviewsgenericlist.py", line 69, in paginate_queryset
page = paginator.page(page_number)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 67, in page
number = self.validate_number(number)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 45, in validate_number
if number > self.num_pages:
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoutilsfunctional.py", line 37, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 97, in num_pages
if self.count == 0 and not self.allow_empty_first_page:
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangoutilsfunctional.py", line 37, in __get__
res = instance.__dict__[self.name] = self.func(instance)
File "C:UsersUserAppDataLocalProgramsPythonPython37-32libsite-packagesdjango-2.1.1-py3.7.eggdjangocorepaginator.py", line 92, in count
return len(self.object_list)
TypeError: object of type 'HttpResponse' has no len()
[13/Nov/2018 07:42:46] "GET /jobs/jobs HTTP/1.1" 500 115769
Any tips please ?
python django
python django
asked Nov 13 '18 at 7:43
project_kingzproject_kingz
405
405
There is no need to do this. ListView already has pagination.
– Daniel Roseman
Nov 13 '18 at 7:55
add a comment |
There is no need to do this. ListView already has pagination.
– Daniel Roseman
Nov 13 '18 at 7:55
There is no need to do this. ListView already has pagination.
– Daniel Roseman
Nov 13 '18 at 7:55
There is no need to do this. ListView already has pagination.
– Daniel Roseman
Nov 13 '18 at 7:55
add a comment |
1 Answer
1
active
oldest
votes
Method get_queryset
must return QuerySet object. In your case you are trying to return an HttpResponse.
But in your case, you don't need to use Pagination class. The ListView
does that automatically for you, if you specify paginate_by
attribute.
If you want extra context in your template use
def get_context_data(self, **kwargs):
context = super(JobListIndex2, self).get_context_data(**kwargs)
context['title'] = 'Jobs'
return context
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53276103%2fdjango-pagination-error-at-object-of-type-httpresponse-has-no-len%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Method get_queryset
must return QuerySet object. In your case you are trying to return an HttpResponse.
But in your case, you don't need to use Pagination class. The ListView
does that automatically for you, if you specify paginate_by
attribute.
If you want extra context in your template use
def get_context_data(self, **kwargs):
context = super(JobListIndex2, self).get_context_data(**kwargs)
context['title'] = 'Jobs'
return context
add a comment |
Method get_queryset
must return QuerySet object. In your case you are trying to return an HttpResponse.
But in your case, you don't need to use Pagination class. The ListView
does that automatically for you, if you specify paginate_by
attribute.
If you want extra context in your template use
def get_context_data(self, **kwargs):
context = super(JobListIndex2, self).get_context_data(**kwargs)
context['title'] = 'Jobs'
return context
add a comment |
Method get_queryset
must return QuerySet object. In your case you are trying to return an HttpResponse.
But in your case, you don't need to use Pagination class. The ListView
does that automatically for you, if you specify paginate_by
attribute.
If you want extra context in your template use
def get_context_data(self, **kwargs):
context = super(JobListIndex2, self).get_context_data(**kwargs)
context['title'] = 'Jobs'
return context
Method get_queryset
must return QuerySet object. In your case you are trying to return an HttpResponse.
But in your case, you don't need to use Pagination class. The ListView
does that automatically for you, if you specify paginate_by
attribute.
If you want extra context in your template use
def get_context_data(self, **kwargs):
context = super(JobListIndex2, self).get_context_data(**kwargs)
context['title'] = 'Jobs'
return context
answered Nov 13 '18 at 8:11
RazmoooRazmooo
1331110
1331110
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53276103%2fdjango-pagination-error-at-object-of-type-httpresponse-has-no-len%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
There is no need to do this. ListView already has pagination.
– Daniel Roseman
Nov 13 '18 at 7:55